diff --git a/iptables.spec b/iptables.spec index c2adae2..c5f279f 100644 --- a/iptables.spec +++ b/iptables.spec @@ -162,6 +162,12 @@ install -m0755 iptables/iptables-apply "$b/%_sbindir/" install -m0644 iptables/iptables-apply.8 "$b/%_mandir/man8/" rm -f "$b/%_libdir"/*.la rm -f "$b/%_sysconfdir/ethertypes" # -> netcfg + +for i in iptables iptables-restore iptables-save ip6tables ip6tables-restore \ + ip6tables-save arptables arptables-restore arptables-save ebtables \ + ebtables-restore ebtables-save; do + ln -fsv "/etc/alternatives/$i" "$b/%_sbindir/%i" +done %if 0%{?suse_version} %fdupes %buildroot/%_prefix %endif