diff --git a/iptables.spec b/iptables.spec index 0e089c7..46f2076 100644 --- a/iptables.spec +++ b/iptables.spec @@ -41,9 +41,14 @@ BuildRequires: sgmltool %if 0%{?fedora_version} || 0%{?centos_version} BuildRequires: sgml-common %endif -BuildRequires: autoconf automake fdupes libtool -BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 1.0.0 -BuildRequires: xz +BuildRequires: autoconf automake libtool +BuildRequires: pkgconfig >= 0.21 xz +%if 0%{?suse_version} +BuildRequires: fdupes pkgconfig(libnfnetlink) >= 1.0.0 +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: libnfnetlink-devel >= 1.0.0 +%endif %description iptables is used to set up, maintain, and inspect the tables of IP