forked from pool/iptables
Make build work for Fedorean systems
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=23
This commit is contained in:
@@ -30,6 +30,7 @@ Summary: IP Packet Filter Administration
|
||||
#Git-Clone: git://git.netfilter.org/iptables
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: iptables-batch.patch
|
||||
Patch2: proc-header.diff
|
||||
Url: http://netfilter.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version}
|
||||
@@ -58,8 +59,13 @@ These libraries are needed to compile
|
||||
- programs using libipq
|
||||
|
||||
%prep
|
||||
%if 0%{?__xz:1}
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%else
|
||||
tar -xf "%{S:0}" --use=xz;
|
||||
%setup -DTq
|
||||
%endif
|
||||
%patch -P 1 -P 2 -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
|
Reference in New Issue
Block a user