iptables-1.8.10-4.el9

* Wed Jul 03 2024 Phil Sutter <psutter@redhat.com> [1.8.10-4.el9]
- spec: Simplify legacy package integration (Phil Sutter) [RHEL-5797]
Resolves: RHEL-5797
This commit is contained in:
Phil Sutter 2024-07-03 15:18:39 +02:00
parent e74594c069
commit c4bd1fda82

View File

@ -1,5 +1,5 @@
%define iptables_rpmversion 1.8.10 %define iptables_rpmversion 1.8.10
%define iptables_specrelease 3 %define iptables_specrelease 4
# 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
@ -386,7 +386,6 @@ fi
%if %{do_legacy_pkg} %if %{do_legacy_pkg}
%files legacy %files legacy
%doc INCOMPATIBILITIES
%{_sbindir}/ip{,6}tables-legacy* %{_sbindir}/ip{,6}tables-legacy*
%{_sbindir}/xtables-legacy-multi %{_sbindir}/xtables-legacy-multi
%{_bindir}/iptables-xml %{_bindir}/iptables-xml
@ -405,9 +404,15 @@ fi
%{_libdir}/pkgconfig/libip{,4,6}tc.pc %{_libdir}/pkgconfig/libip{,4,6}tc.pc
%files services %files services
%dir %{script_path}
%{script_path}/ip{,6}tables.init
%config(noreplace) %{_sysconfdir}/sysconfig/ip{,6}tables{,-config}
%{_unitdir}/ip{,6}tables.service
%dir %{legacy_actions}/ip{,6}tables
%{legacy_actions}/ip{,6}tables/{save,panic}
# do_legacy_pkg # do_legacy_pkg
%else %endif
%files nft-services %files nft-services
%{_unitdir}/{arp,eb}tables.service %{_unitdir}/{arp,eb}tables.service
@ -415,11 +420,6 @@ fi
%config(noreplace) %{_sysconfdir}/sysconfig/ebtables-config %config(noreplace) %{_sysconfdir}/sysconfig/ebtables-config
%ghost %{_sysconfdir}/sysconfig/arptables %ghost %{_sysconfdir}/sysconfig/arptables
%ghost %{_sysconfdir}/sysconfig/ebtables %ghost %{_sysconfdir}/sysconfig/ebtables
# do_legacy_pkg
%endif
# the common files in services and nft-services
%dir %{script_path} %dir %{script_path}
%{script_path}/ip{,6}tables.init %{script_path}/ip{,6}tables.init
%config(noreplace) %{_sysconfdir}/sysconfig/ip{,6}tables{,-config} %config(noreplace) %{_sysconfdir}/sysconfig/ip{,6}tables{,-config}
@ -472,6 +472,9 @@ fi
%ghost %{_mandir}/man8/ebtables{,-translate}.8.gz %ghost %{_mandir}/man8/ebtables{,-translate}.8.gz
%changelog %changelog
* Wed Jul 03 2024 Phil Sutter <psutter@redhat.com> [1.8.10-4.el9]
- spec: Simplify legacy package integration (Phil Sutter) [RHEL-5797]
* Wed Jun 12 2024 Phil Sutter <psutter@redhat.com> [1.8.10-3.el9] * Wed Jun 12 2024 Phil Sutter <psutter@redhat.com> [1.8.10-3.el9]
- extensions: libxt_sctp: Add an extra assert() (Phil Sutter) [RHEL-40928] - extensions: libxt_sctp: Add an extra assert() (Phil Sutter) [RHEL-40928]
- spec: Add symlinks for merged extension DSOs (Phil Sutter) [RHEL-32463] - spec: Add symlinks for merged extension DSOs (Phil Sutter) [RHEL-32463]