iptables-1.8.10-10.el9
* Sun Dec 22 2024 Phil Sutter <psutter@redhat.com> [1.8.10-10.el9] - spec: Fix build on c9s (Phil Sutter) [RHEL-72005] Resolves: RHEL-72005
This commit is contained in:
parent
0007d8fe86
commit
1ce1b2c12f
@ -1,5 +1,5 @@
|
|||||||
%define iptables_rpmversion 1.8.10
|
%define iptables_rpmversion 1.8.10
|
||||||
%define iptables_specrelease 9
|
%define iptables_specrelease 10
|
||||||
|
|
||||||
# install init scripts to /usr/libexec with systemd
|
# install init scripts to /usr/libexec with systemd
|
||||||
%global script_path %{_libexecdir}/iptables
|
%global script_path %{_libexecdir}/iptables
|
||||||
@ -290,9 +290,11 @@ for fam in ip ip6; do
|
|||||||
link_ext libxt_NAT lib${fam}t_MASQUERADE
|
link_ext libxt_NAT lib${fam}t_MASQUERADE
|
||||||
done
|
done
|
||||||
|
|
||||||
# drop unused installed symlinks
|
# turn %ghost'ed installed symlinks into empty files,
|
||||||
|
# otherwise builds will fail on c9s
|
||||||
for f in %{buildroot}%{_sbindir}/ip{,6}tables{,-restore,-save}; do
|
for f in %{buildroot}%{_sbindir}/ip{,6}tables{,-restore,-save}; do
|
||||||
[[ -L "$f" ]] && rm "$f"
|
[[ -L "$f" ]] && rm "$f"
|
||||||
|
touch "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
%if ! %{do_legacy_pkg}
|
%if ! %{do_legacy_pkg}
|
||||||
@ -498,6 +500,9 @@ fi
|
|||||||
%ghost %{_mandir}/man8/ebtables{,-translate}.8.gz
|
%ghost %{_mandir}/man8/ebtables{,-translate}.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 22 2024 Phil Sutter <psutter@redhat.com> [1.8.10-10.el9]
|
||||||
|
- spec: Fix build on c9s (Phil Sutter) [RHEL-72005]
|
||||||
|
|
||||||
* Sun Dec 22 2024 Phil Sutter <psutter@redhat.com> [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]
|
- spec: Explicitly remove unpackaged files (Michel Lind) [RHEL-72005]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user