diff --git a/iptables.spec b/iptables.spec index f9c26d4..21532fc 100644 --- a/iptables.spec +++ b/iptables.spec @@ -47,6 +47,7 @@ BuildRequires: pkgconfig(libnftnl) >= 1.0.5 Requires: netcfg >= 11.6 Requires: xtables-plugins = %version-%release Requires(post): update-alternatives +Requires(postun): update-alternatives %description iptables is used to set up, maintain, and inspect the rule tables of @@ -56,6 +57,8 @@ 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 +Requires(post): update-alternatives +Requires(postun): update-alternatives %description backend-nft Installation of this package adds higher priority alternatives (cf.