Add alternate BuildRequires for old distros

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=51
This commit is contained in:
Jan Engelhardt 2012-07-19 23:26:47 +00:00 committed by Git OBS Bridge
parent 3dcdaac44e
commit f9f1b670fd

View File

@ -56,8 +56,11 @@ BuildRequires: tetex-latex
%endif %endif
%define with_xt 1 %define with_xt 1
%if 0%{?with_xt} %if 0%{?with_xt}
BuildRequires: pkgconfig(libnl-1) %if 0%{?suse_version} >= 1140
BuildRequires: pkgconfig(xtables) >= 1.4.11 BuildRequires: pkgconfig(xtables) >= 1.4.11
%else
BuildRequires: libxtables-devel >= 1.4.11
%endif
%endif %endif
Provides: iproute = %version-%release Provides: iproute = %version-%release