[whatsup/el5] here's a dependancy fix for pingd

David Brown dmlb2000 at fedoraproject.org
Mon Jul 30 00:18:19 UTC 2012


commit e93a14fab4d65d759134c0f38911da59019659b8
Author: David Brown <david.brown at pnnl.gov>
Date:   Sun Jul 29 17:13:53 2012 -0700

    here's a dependancy fix for pingd

 whatsup.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/whatsup.spec b/whatsup.spec
index f7d827e..8279bdf 100644
--- a/whatsup.spec
+++ b/whatsup.spec
@@ -9,7 +9,7 @@
 Summary:       Node up/down detection utility
 Name:          whatsup
 Version:       1.13
-Release:       1%{?dist}
+Release:       2%{?dist}
 Group:         Applications/Communications
 License:       GPLv2+
 URL:           https://computing.llnl.gov/linux/whatsup.html
@@ -75,7 +75,7 @@ pingd backend module for %{libname}
 Summary:       Pingd daemon for %{name}
 Group:         Applications/Communications
 Requires:      %{libname} = %{version}-%{release}
-%if 0%{?fedora} < 15
+%if 0%{?fedora} > 15
 Requires(post): systemd-sysv
 Requires(post): systemd-units
 Requires(preun): systemd-units
@@ -287,6 +287,9 @@ fi
 
 
 %changelog
+* Sun Jul 29 2012 David Brown <david.brown at pnnl.gov> - 1.13-2
+- fixed logic for systemd dependancies on EPEL 5/6
+
 * Tue Jul 24 2012 David Brown <david.brown at pnnl.gov> - 1.13-1
 - New Upstream Release
 - Made one spec file to rule them all ... at least el5 el6 f17 f16


More information about the scm-commits mailing list