[smartmontools/f15/master] don't call chkconfig add, we use systemd now

Michal Hlavinka mhlavink at fedoraproject.org
Sat Mar 5 10:17:07 UTC 2011


commit 4a1ccae7c14def86cc88b17971f414c06bbb2b91
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Sat Mar 5 11:17:00 2011 +0100

    don't call chkconfig add, we use systemd now
    
    own %{_datadir}/%{name} and %{_libexecdir}/%{name} dirs

 smartmontools.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/smartmontools.spec b/smartmontools.spec
index 7f4c92f..907ad3a 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:	7%{?dist}
+Release:	8%{?dist}
 Epoch:		1
 Group:		System Environment/Base
 License:	GPLv2+
@@ -83,7 +83,6 @@ if [ $1 -eq 0 ] ; then
 fi
 
 %post
-/sbin/chkconfig --add smartd
 /sbin/service smartd condrestart >/dev/null 2>&1 ||:
 if [ $1 -eq 1 ]; then
 	/bin/systemctl enable smartd.service >/dev/null 2>&1 || :
@@ -115,6 +114,9 @@ fi
 %{_datadir}/%{name}
 
 %changelog
+* Fri Mar 04 2011 Michal Hlavinka <mhlavink at redhat.com> - 1:5.40-8
+- don't call chkconfig add, we use systemd now
+ 
 * Thu Mar 03 2011 Michal Hlavinka <mhlavink at redhat.com> - 1:5.40-7
 - own %%{_datadir}/%%{name} and %%{_libexecdir}/%%{name} dirs
 


More information about the scm-commits mailing list