From f9f1b670fd7173513efcdeda722c58ffabae0ab74b715a80963a2a6c23aa3fe7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 19 Jul 2012 23:26:47 +0000 Subject: [PATCH] Add alternate BuildRequires for old distros OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=51 --- iproute2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iproute2.spec b/iproute2.spec index 8f5a88e..b0c97c4 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -56,8 +56,11 @@ BuildRequires: tetex-latex %endif %define with_xt 1 %if 0%{?with_xt} -BuildRequires: pkgconfig(libnl-1) +%if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(xtables) >= 1.4.11 +%else +BuildRequires: libxtables-devel >= 1.4.11 +%endif %endif Provides: iproute = %version-%release