Apply 1 latest change(s) from f13 branch

This commit is contained in:
Michal Hlavinka 2010-11-10 13:23:51 +01:00
parent 4275379546
commit c5209c4344

View File

@ -1,7 +1,7 @@
Summary: Tools for monitoring SMART capable hard disks Summary: Tools for monitoring SMART capable hard disks
Name: smartmontools Name: smartmontools
Version: 5.40 Version: 5.40
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
@ -64,12 +64,13 @@ rm -rf $RPM_BUILD_ROOT
%preun %preun
if [ "$1" = "0" ] ; then if [ "$1" = "0" ] ; then
/sbin/service smartd stop >/dev/null 2>&1 /sbin/service smartd stop >/dev/null 2>&1 ||:
/sbin/chkconfig --del smartd /sbin/chkconfig --del smartd
fi fi
%post %post
/sbin/chkconfig --add smartd /sbin/chkconfig --add smartd
/sbin/service smartd condrestart >/dev/null 2>&1 ||:
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)