From 1490bdd870d22258292a7eb5b17f47b0d3b915e220716e100565f8770944f33a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 30 Jun 2012 13:40:28 +0000 Subject: [PATCH] Packaging fixes for RHEL/SLES OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=52 --- iptables.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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