/etc/ethertypes has been moved into the setup package
(cherry picked from commit b3e3da4e93493590320392a74747d6f66cd174c7)
This commit is contained in:
parent
62f57736ad
commit
f5b58dd185
@ -2,7 +2,7 @@
|
||||
%global legacy_actions %{_libexecdir}/initscripts/legacy-actions
|
||||
Name: iptables
|
||||
Version: 1.8.7
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: IP packet filter administration utilities
|
||||
License: GPLv2 and Artistic Licence 2.0 and ISC
|
||||
URL: https://www.netfilter.org/
|
||||
@ -21,6 +21,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
|
||||
@ -132,6 +133,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
|
||||
@ -234,7 +238,6 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%{script_path}/ip*tables.init
|
||||
%{_sysconfdir}/ethertypes
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/*
|
||||
%{_sbindir}/nfnl_osf
|
||||
%{_sbindir}/nfbpf_*
|
||||
@ -317,6 +320,12 @@ fi
|
||||
%{_mandir}/man8/xtables-legacy*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 01 2022 xingwei <xingwei14@h-partners.com> - 1.8.7-8
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:/etc/ethertypes has been moved into the setup package
|
||||
|
||||
* Wed Apr 06 2022 chenzhen <vchanger123456@163.com> - 1.8.7-7
|
||||
- Type:Enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user