diff --git a/iptables.spec b/iptables.spec index 03b76de419962f18af4d9a9e7aea85e94db92b22..ec868b25ebe0d39cc58fced5b08d4ef6d80140b8 100644 --- a/iptables.spec +++ b/iptables.spec @@ -2,7 +2,7 @@ %global legacy_actions %{_libexecdir}/initscripts/legacy-actions Name: iptables Version: 1.8.7 -Release: 5 +Release: 6 Summary: IP packet filter administration utilities License: GPLv2 and Artistic Licence 2.0 and ISC URL: https://www.netfilter.org/ @@ -18,6 +18,7 @@ BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel l BuildRequires: autogen autoconf automake libtool Requires: %{name}-libs = %{version}-%{release} +Conflicts: setup < 2.10.4-1 Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives @@ -129,6 +130,9 @@ install -m 0755 -c ip6tabes.panic-legacy %{buildroot}/%{legacy_actions}/ip6table install -m 0755 iptables/iptables-apply %{buildroot}%{_sbindir} install -m 0755 iptables/iptables-apply.8 %{buildroot}%{_mandir}/man8 +# Remove /etc/ethertypes (now part of setup) +rm -f %{buildroot}%{_sysconfdir}/ethertypes + touch %{buildroot}%{_libexecdir}/arptables-helper touch %{buildroot}%{_mandir}/man8/arptables.8 @@ -231,7 +235,6 @@ fi %defattr(-,root,root) %license COPYING %{script_path}/ip*tables.init -%{_sysconfdir}/ethertypes %config(noreplace) %{_sysconfdir}/sysconfig/* %{_sbindir}/nfnl_osf %{_sbindir}/nfbpf_* @@ -314,6 +317,12 @@ fi %{_mandir}/man8/xtables-legacy* %changelog +* Thu Jun 30 2022 xingwei - 1.8.7-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:/etc/ethertypes has been moved into the setup package + * Sat Mar 26 2022 yanglu - 1.8.7-5 - Type:bugfix - ID:NA