Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package iptables for openSUSE:Factory 
checked in at 2025-04-24 17:25:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iptables (Old)
 and      /work/SRC/openSUSE:Factory/.iptables.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iptables"

Thu Apr 24 17:25:05 2025 rev:86 rq:1272162 version:1.8.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/iptables/iptables.changes        2024-12-03 
20:46:50.342111638 +0100
+++ /work/SRC/openSUSE:Factory/.iptables.new.30101/iptables.changes     
2025-04-24 17:25:26.865168791 +0200
@@ -1,0 +2,5 @@
+Thu Apr 17 18:48:56 UTC 2025 - Antonio Teixeira <antonio.teixe...@suse.com>
+
+- Remove legacy backend from SLES16
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ iptables.spec ++++++
--- /var/tmp/diff_new_pack.hMo6CC/_old  2025-04-24 17:25:27.653201859 +0200
+++ /var/tmp/diff_new_pack.hMo6CC/_new  2025-04-24 17:25:27.657202026 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package iptables
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,6 +22,12 @@
 %bcond_with libalternatives
 %endif
 
+%if 0%{?suse_version} == 1600 && !0%{?is_opensuse}
+%bcond_with legacy_backend
+%else
+%bcond_without legacy_backend
+%endif
+
 Name:           iptables
 Version:        1.8.11
 Release:        0
@@ -51,6 +57,7 @@
 BuildRequires:  pkgconfig(libnftnl) >= 1.2.6
 Requires:       netcfg >= 11.6
 Requires:       xtables-plugins = %version-%release
+%if %{with legacy_backend}
 %if %{with libalternatives}
 Requires:       alts
 BuildRequires:  alts
@@ -58,6 +65,10 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %endif
+%else
+Provides:              %name-backend-nft = %version-%release
+Obsoletes:             %name-backend-nft < %version-%release
+%endif
 # During the update to iptables 1.8, ip6tables-restore-translate, 
ip6tables-translate,
 # iptables-restore-translate and iptables-translate were moved from 
iptables-nft subpackage
 # (now iptables-backend-nft) to the main package so we need to add a conflict 
here otherwise
@@ -74,7 +85,6 @@
 Requires:       iptables >= 1.8.0
 %if %{with libalternatives}
 Requires:       alts
-BuildRequires:  alts
 %else
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -200,17 +210,29 @@
 for i in iptables iptables-restore iptables-save ip6tables ip6tables-restore \
     ip6tables-save arptables arptables-restore arptables-save ebtables \
     ebtables-restore ebtables-save; do
-%if ! %{with libalternatives}
+%if %{with legacy_backend}
+       %if !%{with libalternatives}
        ln -fsv "%_sysconfdir/alternatives/$i" "$b/%_sbindir/$i"
-%else
+       %else
        ln -fsv %_bindir/alts "$b/%_sbindir/$i"
+       %endif
+%else
+       ln -fsv %_sbindir/xtables-nft-multi "$b/%_sbindir/$i"
 %endif
 done
 
+%if %{without legacy_backend}
+       rm "$b/%_sbindir/xtables-legacy-multi"
+       rm $b/%_sbindir/iptables-legacy*
+       rm $b/%_sbindir/ip6tables-legacy*
+       ln -fsv %_sbindir/xtables-nft-multi $b/%_bindir/iptables-xml
+%endif
+
 %if 0%{?suse_version}
 %fdupes %buildroot/%_prefix
 %endif
 
+%if %{with legacy_backend}
 %if %{with libalternatives}
 mkdir -pv "$b/%_datadir/libalternatives/iptables"
 cat >"$b/%_datadir/libalternatives/iptables/1.conf" <<-EOF
@@ -307,6 +329,7 @@
        update-alternatives --remove ebtables "%_sbindir/xtables-nft-multi"
 fi
 %endif
+%endif
 
 %post   -n libipq0 -p /sbin/ldconfig
 %postun -n libipq0 -p /sbin/ldconfig
@@ -322,21 +345,24 @@
 %_bindir/iptables-xml
 %_sbindir/arptables-*translate*
 %_sbindir/iptables-apply
-%_sbindir/iptables-legacy*
 %_sbindir/iptables-nft*
 %_sbindir/iptables-*translate*
 %_sbindir/ip6tables-apply
-%_sbindir/ip6tables-legacy*
 %_sbindir/ip6tables-nft*
 %_sbindir/ip6tables-*translate*
 %_sbindir/arptables-nft*
 %_sbindir/ebtables-nft*
 %_sbindir/ebtables-*translate*
-%_sbindir/xtables*
+%_sbindir/xtables-monitor
+%_sbindir/xtables-nft-multi
 %_mandir/man1/*tables*
 %_mandir/man8/*tables*
+%if %{with legacy_backend}
+%_sbindir/iptables-legacy*
+%_sbindir/ip6tables-legacy*
+%_sbindir/xtables-legacy-multi
 # backend-legacy (implicit)
-%if ! %{with libalternatives}
+%if !%{with libalternatives}
 %ghost %_sysconfdir/alternatives/iptables
 %ghost %_sysconfdir/alternatives/iptables-restore
 %ghost %_sysconfdir/alternatives/iptables-save
@@ -357,15 +383,25 @@
 %_datadir/libalternatives/iptables-save/1.conf
 %dir %_datadir/libalternatives/iptables-save
 %endif
+%endif
 %_sbindir/iptables
 %_sbindir/iptables-restore
 %_sbindir/iptables-save
 %_sbindir/ip6tables
 %_sbindir/ip6tables-restore
 %_sbindir/ip6tables-save
+%if %{without legacy_backend}
+%_sbindir/arptables
+%_sbindir/arptables-restore
+%_sbindir/arptables-save
+%_sbindir/ebtables
+%_sbindir/ebtables-restore
+%_sbindir/ebtables-save
+%endif
 
+%if %{with legacy_backend}
 %files backend-nft
-%if ! %{with libalternatives}
+%if !%{with libalternatives}
 %ghost %_sysconfdir/alternatives/iptables
 %ghost %_sysconfdir/alternatives/iptables-restore
 %ghost %_sysconfdir/alternatives/iptables-save
@@ -417,6 +453,7 @@
 %_sbindir/ebtables
 %_sbindir/ebtables-restore
 %_sbindir/ebtables-save
+%endif
 
 %files -n xtables-plugins
 %_libdir/xtables/

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.hMo6CC/_old  2025-04-24 17:25:27.693203537 +0200
+++ /var/tmp/diff_new_pack.hMo6CC/_new  2025-04-24 17:25:27.693203537 +0200
@@ -1,5 +1,5 @@
-mtime: 1733147015
-commit: 5f074bda5a10d96b965b4e60bd0f56762bb227d30bbb1c4b617012e3d6319e18
+mtime: 1745399916
+commit: e00d28626a4be7a5d5d8c1b722f48d75934fa979d0d7a29689442d1123f1c8a1
 url: https://src.opensuse.org/jengelh/iptables
 revision: master
 

++++++ build.specials.obscpio ++++++

Reply via email to