1
0
forked from jengelh/iptables
Jan Engelhardt 2018-09-07 12:32:22 +00:00 committed by Git OBS Bridge
parent f916ded102
commit 6f2c0af6e1

View File

@ -162,13 +162,6 @@ install -m0755 iptables/iptables-apply "$b/%_sbindir/"
install -m0644 iptables/iptables-apply.8 "$b/%_mandir/man8/" install -m0644 iptables/iptables-apply.8 "$b/%_mandir/man8/"
rm -f "$b/%_libdir"/*.la rm -f "$b/%_libdir"/*.la
rm -f "$b/%_sysconfdir/ethertypes" # -> netcfg rm -f "$b/%_sysconfdir/ethertypes" # -> netcfg
find "$b/%_sbindir/iptables" -type l -delete
mv "$b/%_sbindir/arptables" "$b/%_sbindir/arptables-nft"
mv "$b/%_sbindir/ebtables" "$b/%_sbindir/ebtables-nft"
mv "$b/%_sbindir/arptables-restore" "$b/%_sbindir/arptables-nft-restore"
mv "$b/%_sbindir/ebtables-restore" "$b/%_sbindir/ebtables-nft-restore"
mv "$b/%_sbindir/arptables-save" "$b/%_sbindir/arptables-nft-save"
mv "$b/%_sbindir/ebtables-save" "$b/%_sbindir/ebtables-nft-save"
%if 0%{?suse_version} %if 0%{?suse_version}
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%endif %endif