[smartmontools] Apply 1 latest change(s) from f13 branch
Michal Hlavinka
mhlavink at fedoraproject.org
Wed Nov 10 12:24:00 UTC 2010
commit c5209c4344c36fb11240fc72c42e266d71989636
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Wed Nov 10 13:23:51 2010 +0100
Apply 1 latest change(s) from f13 branch
smartmontools.spec | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/smartmontools.spec b/smartmontools.spec
index e3ab859..c750b8c 100644
--- a/smartmontools.spec
+++ b/smartmontools.spec
@@ -1,7 +1,7 @@
Summary: Tools for monitoring SMART capable hard disks
Name: smartmontools
Version: 5.40
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
Group: System Environment/Base
License: GPLv2+
@@ -64,12 +64,13 @@ rm -rf $RPM_BUILD_ROOT
%preun
if [ "$1" = "0" ] ; then
- /sbin/service smartd stop >/dev/null 2>&1
+ /sbin/service smartd stop >/dev/null 2>&1 ||:
/sbin/chkconfig --del smartd
fi
%post
/sbin/chkconfig --add smartd
+/sbin/service smartd condrestart >/dev/null 2>&1 ||:
%files
%defattr(-,root,root,-)
More information about the scm-commits
mailing list