[munin/epel7] No Cache::Memcached in el7
Lubomir Rintel
lkundrak at fedoraproject.org
Mon Apr 28 15:03:21 UTC 2014
commit e14d8ca8794836b609a05e462f695c1e8de0e30b
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Mon Apr 28 16:56:47 2014 +0200
No Cache::Memcached in el7
munin.spec | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/munin.spec b/munin.spec
index 4f5f15e..2b18bdd 100644
--- a/munin.spec
+++ b/munin.spec
@@ -110,7 +110,9 @@ BuildRequires: systemd-units
%endif
# Munin node requires
+%if 0%{?rhel} == 0
Requires: perl(Cache::Memcached)
+%endif
Requires: perl(Crypt::DES)
Requires: perl(Digest::HMAC)
Requires: perl(Digest::SHA1)
@@ -313,6 +315,11 @@ Munin plugins that require Net::IP. This is only dhcpd3 and ntp currently.
install -c %{SOURCE12} ./plugins/node.d.linux/cpuspeed.in
%endif
+%if 0%{?rhel}
+# This one relies on Cache::Memcached, which is not shipped with el7
+rm -f plugins/node.d/memcached_.in
+%endif
+
%patch4 -p0
%patch5 -p0
#% patch7 -p1
More information about the scm-commits
mailing list