From f916ded102e084a170229e5dc1063292d64d017d3c1f5e97bff3c431121e31f9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 7 Sep 2018 11:47:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=112 --- iptables.spec | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/iptables.spec b/iptables.spec index 21532fc..0405e08 100644 --- a/iptables.spec +++ b/iptables.spec @@ -24,8 +24,8 @@ License: GPL-2.0-only AND Artistic-2.0 Group: Productivity/Networking/Security Url: http://netfilter.org/projects/iptables/ #Git-Clone: git://git.netfilter.org/iptables -#Source: http://netfilter.org/projects/iptables/files/%name-%version.tar.bz2 -#Source2: http://netfilter.org/projects/iptables/files/%name-%version.tar.bz2.sig +#Source: http://netfilter.org/projects/iptables/files/%%name-%%version.tar.bz2 +#Source2: http://netfilter.org/projects/iptables/files/%%name-%%version.tar.bz2.sig Source: %name-%version.tar.xz Source3: %name.keyring Patch3: iptables-batch.patch @@ -182,7 +182,7 @@ update-alternatives \ --slave "%_sbindir/ip6tables-restore" ip6tables-restore "%_sbindir/xtables-legacy-multi" \ --slave "%_sbindir/ip6tables-save" ip6tables-save "%_sbindir/xtables-legacy-multi" -%preun +%postun if test "$1" = 0; then update-alternatives --remove iptables "%_sbindir/xtables-legacy-multi" fi @@ -202,7 +202,7 @@ update-alternatives --install "%_sbindir/ebtables" ebtables "%_sbindir/xtables-n --slave "%_sbindir/ebtables-restore" ebtables-restore "%_sbindir/xtables-nft-multi" \ --slave "%_sbindir/ebtables-save" ebtables-save "%_sbindir/xtables-nft-multi" -%preun backend-nft +%postun backend-nft if test "$1" = 0; then update-alternatives --remove iptables "%_sbindir/xtables-nft-multi" update-alternatives --remove arptables "%_sbindir/xtables-nft-multi" @@ -238,12 +238,12 @@ fi %ghost %_sysconfdir/alternatives/ip6tables %ghost %_sysconfdir/alternatives/ip6tables-restore %ghost %_sysconfdir/alternatives/ip6tables-save -%ghost %_sbindir/iptables -%ghost %_sbindir/iptables-restore -%ghost %_sbindir/iptables-save -%ghost %_sbindir/ip6tables -%ghost %_sbindir/ip6tables-restore -%ghost %_sbindir/ip6tables-save +%_sbindir/iptables +%_sbindir/iptables-restore +%_sbindir/iptables-save +%_sbindir/ip6tables +%_sbindir/ip6tables-restore +%_sbindir/ip6tables-save %files backend-nft %ghost %_sysconfdir/alternatives/iptables @@ -258,18 +258,18 @@ fi %ghost %_sysconfdir/alternatives/ebtables %ghost %_sysconfdir/alternatives/ebtables-restore %ghost %_sysconfdir/alternatives/ebtables-save -%ghost %_sbindir/iptables -%ghost %_sbindir/iptables-restore -%ghost %_sbindir/iptables-save -%ghost %_sbindir/ip6tables -%ghost %_sbindir/ip6tables-restore -%ghost %_sbindir/ip6tables-save -%ghost %_sbindir/arptables -%ghost %_sbindir/arptables-restore -%ghost %_sbindir/arptables-save -%ghost %_sbindir/ebtables -%ghost %_sbindir/ebtables-restore -%ghost %_sbindir/ebtables-save +%_sbindir/iptables +%_sbindir/iptables-restore +%_sbindir/iptables-save +%_sbindir/ip6tables +%_sbindir/ip6tables-restore +%_sbindir/ip6tables-save +%_sbindir/arptables +%_sbindir/arptables-restore +%_sbindir/arptables-save +%_sbindir/ebtables +%_sbindir/ebtables-restore +%_sbindir/ebtables-save %files -n xtables-plugins %_libdir/xtables/