4 Commits

4 changed files with 26 additions and 22 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1746233205
commit: 79d271cfa81d82914652e93b9056b0eff9b8b3cd95e8cbaaa1721eeed76badbb
url: https://src.opensuse.org/jengelh/iptables
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:086e42b502e8c9cb0f95ceb91bce9df379f1f019aeac6e6b5e56b76d34d734fb
size 256

View File

@@ -1,7 +1,7 @@
# #
# spec file for package iptables # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -66,8 +66,8 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
%endif %endif
%else %else
Provides: %{name}-backend-nft = %version-%release Provides: %name-backend-nft = %version-%release
Obsoletes: %{name}-backend-nft < %version-%release Obsoletes: %name-backend-nft < %version-%release
Provides: ebtables Provides: ebtables
%endif %endif
# During the update to iptables 1.8, ip6tables-restore-translate, ip6tables-translate, # During the update to iptables 1.8, ip6tables-restore-translate, ip6tables-translate,
@@ -80,14 +80,12 @@ Conflicts: iptables-nft = 1.6.2
iptables is used to set up, maintain, and inspect the rule tables of iptables is used to set up, maintain, and inspect the rule tables of
the various Netfilter packet filter engines inside the Linux kernel. the various Netfilter packet filter engines inside the Linux kernel.
%if %{with legacy_backend}
%package backend-nft %package backend-nft
Summary: Metapackage to make nft the default backend for iptables/arptables/ebtables Summary: Metapackage to make nft the default backend for iptables/arptables/ebtables
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Requires: iptables >= 1.8.0 Requires: iptables >= 1.8.0
%if %{with libalternatives} %if %{with libalternatives}
Requires: alts Requires: alts
BuildRequires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
@@ -100,7 +98,6 @@ Installation of this package adds higher priority alternatives (cf.
update-alternatives) that makes the iptables, ip6tables, arptables update-alternatives) that makes the iptables, ip6tables, arptables
and ebtables commands point to a program variant that uses the and ebtables commands point to a program variant that uses the
nftables kernel interface. nftables kernel interface.
%endif
%package -n xtables-plugins %package -n xtables-plugins
Summary: Match and target extension plugins for iptables Summary: Match and target extension plugins for iptables