diff --git a/iptables.changes b/iptables.changes index 94ac68f..daa6cea 100644 --- a/iptables.changes +++ b/iptables.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 20 11:15:19 UTC 2021 - Stefan Schubert + +- Added alts requirements for iptables-backend-nft package. + ------------------------------------------------------------------- Thu Sep 16 11:40:45 UTC 2021 - Stefan Schubert diff --git a/iptables.spec b/iptables.spec index 558014c..94e5b63 100644 --- a/iptables.spec +++ b/iptables.spec @@ -51,6 +51,7 @@ Requires: netcfg >= 11.6 Requires: xtables-plugins = %version-%release %if %{with libalternatives} Requires: alts +BuildRequires: alts %else Requires(post): update-alternatives Requires(postun):update-alternatives @@ -69,8 +70,13 @@ the various Netfilter packet filter engines inside the Linux kernel. Summary: Metapackage to make nft the default backend for iptables/arptables/ebtables Group: Productivity/Networking/Security Requires: iptables >= 1.8.0 +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives Requires(postun):update-alternatives +%endif Provides: iptables-nft = %version-%release Obsoletes: iptables-nft < %version-%release