diff --git a/iptables.spec b/iptables.spec index bb7cbda..ba6bf68 100644 --- a/iptables.spec +++ b/iptables.spec @@ -46,9 +46,15 @@ BuildRequires: libtool BuildRequires: pkgconfig >= 0.21 %if 0%{?suse_version} BuildRequires: fdupes +%endif +%if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0 %endif -%if 0%{?fedora} || 0%{?rhel} +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: .0.0 +BuildRequires: libnfnetlink-devel >=1 +%endif +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} BuildRequires: libnfnetlink-devel >= 1.0.0 %endif