[whatsup/el5] here's another update

David Brown dmlb2000 at fedoraproject.org
Thu Aug 9 20:44:00 UTC 2012


commit cafe11b031315e07b9d5aa2b2537fd29daeb40d5
Author: David Brown <david.brown at pnnl.gov>
Date:   Thu Aug 9 13:27:52 2012 -0700

    here's another update

 whatsup.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/whatsup.spec b/whatsup.spec
index 3b0d347..2a1bb33 100644
--- a/whatsup.spec
+++ b/whatsup.spec
@@ -80,7 +80,13 @@ Requires(post): systemd-sysv
 Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
+%else
+Requires(post): chkconfig
+Requires(preun): chkconfig
+Requires(preun): initscripts
+Requires(postun): initscripts
 %endif
+
 %description -n %{name}-pingd
 pingd daemon for %{name}
 
@@ -172,7 +178,7 @@ if [ $1 -eq 1 ] ; then
 %if 0%{?fedora} > 15
     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
 %else
-    /sbin/chkconfig whatsup-pingd on
+    /sbin/chkconfig --add whatsup-pingd
 %endif
 fi
 
@@ -287,6 +293,9 @@ fi
 
 
 %changelog
+* Thu Aug 9 2012 David Brown <david.brown at pnnl.gov> - 1.13-4
+- add dependancies for EPEL 5/6 service and chkconfig
+
 * Wed Aug 1 2012 David Brown <david.brown at pnnl.gov> - 1.13-3
 - fix issues with restarting services on EPEL 5/6
 


More information about the scm-commits mailing list