File project.diff of Package iptables
--- iptables.changes.orig
+++ iptables.changes
@@ -109,6 +109,11 @@ Tue Aug 3 07:13:19 UTC 2021 - Stefan Sc
- Use libalternatives instead of update-alternatives.
-------------------------------------------------------------------
+Thu Feb 11 17:46:03 UTC 2021 - Michal Kubecek <mkubecek@suse.cz>
+
+- undo specfile "modernization" breaking build on older systems
+
+-------------------------------------------------------------------
Fri Jan 15 22:34:25 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.8.7
@@ -268,6 +273,11 @@ Fri Jan 27 22:53:14 UTC 2017 - jengelh@i
* translation program for nft
-------------------------------------------------------------------
+Mon Sep 19 07:57:10 UTC 2016 - mkubecek@suse.cz
+
+- fix SLE_11_* build
+
+-------------------------------------------------------------------
Fri Dec 18 20:06:41 UTC 2015 - jengelh@inai.de
- Update to final release 1.6.0
@@ -308,6 +318,11 @@ Sat Nov 23 04:39:31 UTC 2013 - jengelh@i
* SYNPROXY support, available since Linux kernel 3.12
-------------------------------------------------------------------
+Tue Nov 5 09:50:10 UTC 2013 - mkubecek@suse.cz
+
+- fix BuildRequires on older systems
+
+-------------------------------------------------------------------
Wed Aug 7 13:19:02 UTC 2013 - jengelh@inai.de
- Update to new upstream release 1.4.20
--- iptables.spec.orig
+++ iptables.spec
@@ -45,6 +45,7 @@ Patch2: iptables-batch-lock.patc
Patch3: iptables-1.8.2-dont_read_garbage.patch
Patch4: iptables-nft-fix-interface-comparisons.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex >= 2.5.33
@@ -185,7 +186,10 @@ Link your extension (iptables plugins) w
xtables --variable=xtlibdir).
%prep
-%autosetup -p1
+%setup -q
+%patch -P 1 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
%build
# We have the iptables-batch patch, so always regenerate.
@@ -342,7 +346,11 @@ fi
%postun -n libxtables12 -p /sbin/ldconfig
%files
+%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120300
%license COPYING
+%else
+%doc COPYING
+%endif
%_bindir/iptables-xml
%_sbindir/arptables-*translate*
%_sbindir/iptables-apply