Fix separation into compat subpackage

Install translate symlinks with compat package, not the main one since
they link to xtables-compat-multi.
This commit is contained in:
Phil Sutter 2018-05-04 16:32:59 +02:00
parent 0d01e8b0ab
commit 1d5c584741

View File

@ -223,14 +223,10 @@ done
%{_sbindir}/iptables %{_sbindir}/iptables
%{_sbindir}/iptables-apply %{_sbindir}/iptables-apply
%{_sbindir}/iptables-restore %{_sbindir}/iptables-restore
%{_sbindir}/iptables-restore-translate
%{_sbindir}/iptables-save %{_sbindir}/iptables-save
%{_sbindir}/iptables-translate
%{_sbindir}/ip6tables %{_sbindir}/ip6tables
%{_sbindir}/ip6tables-restore %{_sbindir}/ip6tables-restore
%{_sbindir}/ip6tables-restore-translate
%{_sbindir}/ip6tables-save %{_sbindir}/ip6tables-save
%{_sbindir}/ip6tables-translate
%{_sbindir}/xtables-multi %{_sbindir}/xtables-multi
%{_sbindir}/nfbpf_compile %{_sbindir}/nfbpf_compile
%{_bindir}/iptables-xml %{_bindir}/iptables-xml
@ -286,7 +282,11 @@ done
%files compat %files compat
%{_sbindir}/iptables-compat* %{_sbindir}/iptables-compat*
%{_sbindir}/iptables-restore-translate
%{_sbindir}/iptables-translate
%{_sbindir}/ip6tables-compat* %{_sbindir}/ip6tables-compat*
%{_sbindir}/ip6tables-restore-translate
%{_sbindir}/ip6tables-translate
%{_sbindir}/ebtables-compat* %{_sbindir}/ebtables-compat*
%{_sbindir}/arptables-compat %{_sbindir}/arptables-compat
%{_sbindir}/xtables-compat-multi %{_sbindir}/xtables-compat-multi