From: Laura Hild Date: Mon, 23 Oct 2023 20:38:30 +0000 (-0400) Subject: Update IPTables plugin build-dep in redhat specfile X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e67c08558b7e33bd71f6b05a9f219c371113544a;p=thirdparty%2Fcollectd.git Update IPTables plugin build-dep in redhat specfile --- diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index e79fd2308..34c8780af 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -568,7 +568,11 @@ using the Intelligent Platform Management Interface (IPMI). Summary: IPtables plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} +%if 0%{?fedora} || 0%{?rhel} >= 9 +BuildRequires: iptables-legacy-devel +%else BuildRequires: iptables-devel +%endif %description iptables The IPtables plugin can gather statistics from your ip_tables based packet filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect