iptables-1.8.10-9.el9
* Sun Dec 22 2024 Phil Sutter <psutter@redhat.com> [1.8.10-9.el9] - spec: Explicitly remove unpackaged files (Michel Lind) [RHEL-72005] Resolves: RHEL-72005
This commit is contained in:
parent
43ce2831cb
commit
0007d8fe86
@ -1,5 +1,5 @@
|
||||
%define iptables_rpmversion 1.8.10
|
||||
%define iptables_specrelease 8
|
||||
%define iptables_specrelease 9
|
||||
|
||||
# install init scripts to /usr/libexec with systemd
|
||||
%global script_path %{_libexecdir}/iptables
|
||||
@ -13,8 +13,6 @@
|
||||
# build legacy sub-packages only on non-rhel distributions
|
||||
%global do_legacy_pkg ! 0%{?rhel}
|
||||
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
|
||||
Name: iptables
|
||||
Summary: Tools for managing Linux kernel packet filtering capabilities
|
||||
URL: https://www.netfilter.org/projects/iptables
|
||||
@ -292,6 +290,23 @@ for fam in ip ip6; do
|
||||
link_ext libxt_NAT lib${fam}t_MASQUERADE
|
||||
done
|
||||
|
||||
# drop unused installed symlinks
|
||||
for f in %{buildroot}%{_sbindir}/ip{,6}tables{,-restore,-save}; do
|
||||
[[ -L "$f" ]] && rm "$f"
|
||||
done
|
||||
|
||||
%if ! %{do_legacy_pkg}
|
||||
rm %{buildroot}%{_bindir}/iptables-xml
|
||||
rm -r %{buildroot}%{_includedir}/libiptc
|
||||
rm %{buildroot}%{_libdir}/libip{4,6}tc.so*
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/libip{4,6,}tc.pc
|
||||
rm %{buildroot}%{_sbindir}/ip{,6}tables-legacy*
|
||||
rm %{buildroot}%{_sbindir}/xtables-legacy-multi
|
||||
rm %{buildroot}%{_mandir}/man1/iptables-xml.1*
|
||||
rm %{buildroot}%{_mandir}/man8/xtables-legacy.8*
|
||||
rm %{buildroot}%{_datadir}/xtables/iptables.xslt
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%post legacy
|
||||
@ -483,6 +498,9 @@ fi
|
||||
%ghost %{_mandir}/man8/ebtables{,-translate}.8.gz
|
||||
|
||||
%changelog
|
||||
* Sun Dec 22 2024 Phil Sutter <psutter@redhat.com> [1.8.10-9.el9]
|
||||
- spec: Explicitly remove unpackaged files (Michel Lind) [RHEL-72005]
|
||||
|
||||
* Thu Dec 05 2024 Phil Sutter <psutter@redhat.com> [1.8.10-8.el9]
|
||||
- Revert "xshared: Print protocol numbers if --numeric was given" (Phil Sutter) [RHEL-70173]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user