Enable builds for RHEL_6
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_cthelper?expand=0&rev=4
This commit is contained in:
parent
b58d089023
commit
966dce1f48
@ -30,10 +30,15 @@ Source: %name-%version.tar.xz
|
|||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch1: libname.diff
|
Patch1: libname.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf, automake >= 1.6
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: automake >= 1.6
|
||||||
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig >= 0.21
|
BuildRequires: pkgconfig >= 0.21
|
||||||
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
||||||
|
%else
|
||||||
|
BuildRequires: libmnl-devel >= 1.0.0
|
||||||
|
%endif
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -58,7 +63,12 @@ This library provides the programming interface (API) to the
|
|||||||
Netfilter userspace helper infrastructure.
|
Netfilter userspace helper infrastructure.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%if 0%{?__xz:1}
|
||||||
%setup -qn %name
|
%setup -qn %name
|
||||||
|
%else
|
||||||
|
tar -xf "%{S:0}" --use=xz;
|
||||||
|
%setup -DTqn %name
|
||||||
|
%endif
|
||||||
%patch -P 1 -p1
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user