~ubuntu-branches/ubuntu/lucid/edac-utils/lucid

« back to all changes in this revision

Viewing changes to edac-utils.spec

  • Committer: Bazaar Package Importer
  • Author(s): Yaroslav Halchenko
  • Date: 2009-08-25 14:56:02 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090825145602-tf8wlitwmu57ydog
Tags: 0.16-1
* New Upstream version 0.16 (closes: #542304) with cherry picked
  fixed for the library versioning from 0.16.1 (tagged upstream
  but not released)
* Packaging:
 * Udev rules were abandoned upstream (closes: #542308)
 * Adjusted vcs paths in the header
 * Adjusted debian/watch to monitor upstream
 * Boosted policy to 3.8.3
 * -dbg went to debug section
* BF: adjusted init script to have runlevels in line with Debian, and
  Require- to not include named but use remote_fs for /usr (Closes:
  #541240), thanks Petter Reinholdtsen

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Name:      edac-utils
2
 
Version:   0.12
 
2
Version:   0.16
3
3
Release:   1%{?dist}
4
4
 
5
5
Summary:   Userspace helper for kernel EDAC drivers (ECC)
6
6
Group:     Applications/System
7
7
License:   GPL
8
 
Source:    edac-utils-0.12.tar.bz2
 
8
Source:    edac-utils-0.16.tar.bz2
9
9
BuildRoot: %{_tmppath}/%{name}-%{version}
10
10
 
11
11
%{?el5:%define _with_libsysfs 1}
24
24
EDAC is the current set of drivers in the Linux kernel that handle
25
25
detection of ECC errors from memory controllers for most chipsets
26
26
on i386 and x86_64 architectures. This userspace component consists
27
 
of a udev rules file which attempts to load DIMM labels after any
28
 
EDAC drivers are loaded, and an init script which can be configured
29
 
to load a specific EDAC driver if this is done automatically at system 
30
 
startup. The package also includes a library and utility for reporting 
31
 
current error counts from the EDAC sysfs files.
 
27
an init script which loads EDAC DIMM labels at system boot, and can 
 
28
optionally be configured to load a specific EDAC driver if this is 
 
29
not done automatically at system startup. The package also includes a 
 
30
library and utility for reporting current error counts from the EDAC 
 
31
sysfs files.
32
32
 
33
33
 
34
34
%prep 
35
 
%setup -n edac-utils-0.12
 
35
%setup -n edac-utils-0.16
36
36
 
37
37
%build
38
38
%configure
42
42
rm -rf "$RPM_BUILD_ROOT"
43
43
mkdir -p "$RPM_BUILD_ROOT"
44
44
DESTDIR="$RPM_BUILD_ROOT" make install
 
45
# Create labels.d dir
 
46
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/edac/labels.d
45
47
 
46
48
%clean
47
49
rm -rf "$RPM_BUILD_ROOT"
65
67
%{_mandir}/*/*
66
68
%{_includedir}/edac.h
67
69
%dir %attr(0755,root,root) %{_sysconfdir}/edac
68
 
%config(noreplace) %{_sysconfdir}/edac/*
 
70
%dir %attr(0755,root,root) %{_sysconfdir}/edac/labels.d
 
71
%config(noreplace) %{_sysconfdir}/edac/labels.db
69
72
%{_sysconfdir}/init.d/edac
70
 
%{_sysconfdir}/udev/rules.d/*
71
 
 
72