From cca32dede0b818b8accea5ce935efda55703028325f33b0de4999d819cd5a949 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 7 Sep 2018 12:57:54 +0000 Subject: [PATCH] u-a links OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=114 --- iptables.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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