SHA256
1
0
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:
2011-08-01 18:46:26 +00:00
committed by Git OBS Bridge
parent 5d930c329c
commit 3b61f64323
2 changed files with 37 additions and 1 deletions

View File

@@ -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