diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2013-04-28 15:59:32 +0200 |
---|---|---|
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2013-04-28 15:59:32 +0200 |
commit | 8d6e19d19fd932849769a43f0861d90c44199f2b (patch) | |
tree | 13b6191932eff4f503c48820229089421ad91a88 | |
parent | 654c1efa5dc0122b2fd281bf41a8c1fb4efcfa41 (diff) | |
download | collectd-8d6e19d19fd932849769a43f0861d90c44199f2b.tar.gz collectd-8d6e19d19fd932849769a43f0861d90c44199f2b.tar.xz collectd-8d6e19d19fd932849769a43f0861d90c44199f2b.zip |
Disable memcachec plugin of Fedora >= 19
For some reason autoconf doesn't detect it.
-rw-r--r-- | collectd.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/collectd.spec b/collectd.spec index 7628802..466e549 100644 --- a/collectd.spec +++ b/collectd.spec @@ -142,6 +142,7 @@ BuildRequires: jpackage-utils These are the Java bindings for collectd. +%if 0%{?fedora} <= 18 %package memcachec Summary: Memcachec plugin for collectd Group: System Environment/Daemons @@ -150,6 +151,7 @@ BuildRequires: libmemcached-devel %description memcachec This plugin connects to a memcached server, queries one or more given pages and parses the returned data according to user specification. +%endif %package modbus @@ -362,6 +364,9 @@ sed -i.orig -e 's|-Werror||g' Makefile.in */Makefile.in --disable-apple_sensors \ --disable-lpar \ --disable-netapp \ +%if 0%{?fedora} >= 19 + --disable-memcachec \ +%endif %ifarch s390 s390x --disable-nut \ %endif @@ -641,9 +646,10 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la %{_datadir}/collectd/java/collectd-api.jar %doc %{_mandir}/man5/collectd-java.5* - +%if 0%{?fedora} <= 18 %files memcachec %{_libdir}/collectd/memcachec.so +%endif %files modbus |