new upstream version
This commit is contained in:
parent
7e063ef16c
commit
1cb1c2b040
@ -1,19 +1,15 @@
|
|||||||
Summary: Tools for monitoring SMART capable hard disks
|
Summary: Tools for monitoring SMART capable hard disks
|
||||||
Name: smartmontools
|
Name: smartmontools
|
||||||
Version: 5.36
|
Version: 5.37
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://smartmontools.sourceforge.net/
|
URL: http://smartmontools.sourceforge.net/
|
||||||
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source1: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz.asc
|
Source1: smartd.initd
|
||||||
Source2: smartd.initd
|
Source2: smartd-conf.py
|
||||||
Source3: smartd-conf.py
|
Source3: smartmontools.sysconf
|
||||||
Source4: smartmontools.sysconf
|
|
||||||
Patch1: http://people.fedora.de/rsc/smartmontools-5.36-cciss.patch
|
|
||||||
Patch2: smartmontools-5.36-cloexec.patch
|
|
||||||
Patch3: smartmontools-5.36-sata.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
PreReq: /sbin/chkconfig /sbin/service
|
PreReq: /sbin/chkconfig /sbin/service
|
||||||
@ -32,13 +28,10 @@ failure.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .cciss
|
|
||||||
%patch2 -p1 -b .cloexec
|
|
||||||
%patch3 -p1 -b .sata
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -fpie" LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
make CFLAGS="$RPM_OPT_FLAGS -fpic" LDFLAGS="-pic -Wl,-z,relro,-z,now"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -46,9 +39,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/smartd.conf
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/smartd.conf
|
||||||
rm -f examplescripts/Makefile*
|
rm -f examplescripts/Makefile*
|
||||||
install -D -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/smartd
|
install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/smartd
|
||||||
install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}/smartd-conf.py
|
install -D -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/smartd-conf.py
|
||||||
install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/smartmontools
|
install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/smartmontools
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -81,9 +74,8 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 22 2007 Tomas Mraz <tmraz@redhat.com> - 1:5.36-8
|
* Tue Feb 27 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1:5.37-1
|
||||||
- enable SMART on disks when smartd-conf.py runs (fix
|
- new upstream version
|
||||||
by Calvin Ostrum) (#214502)
|
|
||||||
|
|
||||||
* Mon Feb 12 2007 Tomas Mraz <tmraz@redhat.com> - 1:5.36-7
|
* Mon Feb 12 2007 Tomas Mraz <tmraz@redhat.com> - 1:5.36-7
|
||||||
- redirect service script output to null (#224566)
|
- redirect service script output to null (#224566)
|
||||||
|
Loading…
Reference in New Issue
Block a user