-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-10.0
-
None
-
iptables-1.8.11-6.el10
-
No
-
Low
-
rhel-net-firewall
-
ssg_networking
-
26
-
3
-
False
-
False
-
-
No
-
None
-
None
Neal Gompa writes[1]:
"Not required for this MR, but FYI, this could be made more natural using build conditions:
- %global do_legacy_pkg ! 0%{?rhel}
+ %bcond build_legacy_pkg [ ! 0%{?rhel} ]
And %
{do_legacy_pkg}can be replaced with %
{with build_legacy_pkg}throughout the spec."
While at it, guard %package and %description sections of legacy packages by the macro as well, suggested by Michel Lind[2].
[1] https://gitlab.com/redhat/centos-stream/rpms/iptables/-/merge_requests/67#note_2206996129
[2] https://gitlab.com/redhat/centos-stream/rpms/iptables/-/commit/4f61921d62f73298201513dc84ee351f607e6e77?merge_request_iid=67
- links to
-
RHBA-2024:144036
iptables update