diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2013-04-28 16:27:17 +0200 |
---|---|---|
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2013-04-28 16:27:17 +0200 |
commit | a67403b1d335191577296f479947f828a7fe35e7 (patch) | |
tree | c6e99693001613ceba52f2ace1d63cda584a3a7a | |
parent | 6a3c0b7a378345df71c5c8a68affdc652195a93e (diff) | |
download | collectd-a67403b1d335191577296f479947f828a7fe35e7.tar.gz collectd-a67403b1d335191577296f479947f828a7fe35e7.tar.xz collectd-a67403b1d335191577296f479947f828a7fe35e7.zip |
Move iptables plugin to sub-package
-rw-r--r-- | collectd.spec | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/collectd.spec b/collectd.spec index b3b0f50..660e203 100644 --- a/collectd.spec +++ b/collectd.spec @@ -28,7 +28,6 @@ BuildRequires: curl-devel BuildRequires: yajl-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Embed) -BuildRequires: iptables-devel BuildRequires: python-devel BuildRequires: libgcrypt-devel Requires(post): systemd @@ -125,6 +124,15 @@ BuildRequires: OpenIPMI-devel This plugin for collectd provides IPMI support. +%package iptables +Summary: Iptables plugin for collectd +Group: System Environment/Daemons +Requires: collectd = %{version}-%{release} +BuildRequires: iptables-devel +%description iptables +This plugin collects data from iptables counters. + + %package ipvs Summary: IPVS plugin for collectd Group: System Environment/Daemons @@ -513,7 +521,6 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la %{_libdir}/collectd/fscache.so %{_libdir}/collectd/hddtemp.so %{_libdir}/collectd/interface.so -%{_libdir}/collectd/iptables.so %{_libdir}/collectd/irq.so %{_libdir}/collectd/load.so %{_libdir}/collectd/logfile.so @@ -630,6 +637,10 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la %config(noreplace) %{_sysconfdir}/collectd.d/ipmi.conf +%files iptables +%{_libdir}/collectd/iptables.so + + %files ipvs %{_libdir}/collectd/ipvs.so |