Drop the now obsolete %install debuginfo hack

The %install override is no longer needed or compatible with 4.20.0
(4.19.91 being the latest pre-release snapshot in Rawhide) now that a
proper mechanism is implemented in RPM itself that that takes care of
debuginfo enablement, see:

- https://github.com/rpm-software-management/rpm/issues/2204
- https://rpm.org/wiki/Releases/4.20.0
This commit is contained in:
Michal Domonkos 2024-05-21 13:34:45 +02:00
parent f7d9eeb359
commit 7a1571ee80
2 changed files with 5 additions and 6 deletions

4
macros
View File

@ -303,10 +303,6 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
%{__os_install_post}\
%{nil}
%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
%{nil}
#
# Should missing buildids terminate a build?
%_missing_build_ids_terminate_build 1

View File

@ -4,7 +4,7 @@
# 2) When making changes, increment the version (in baserelease) by 1.
# rpmdev-bumpspec and other tools update the macro below, which is used
# in Version: to get the desired effect.
%global baserelease 290
%global baserelease 291
Summary: Red Hat-family-specific rpm configuration files
Name: redhat-rpm-config
@ -118,7 +118,7 @@ Requires: zig-srpm-macros
Requires: build-reproducibility-srpm-macros
%endif
Requires: rpm >= 4.11.0
Requires: rpm >= 4.19.91
Requires: dwz >= 0.4
Requires: zip
Requires: (annobin-plugin-gcc if gcc)
@ -254,6 +254,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
%doc buildflags.md
%changelog
* Wed May 22 2024 Michal Domonkos <mdomonko@redhat.com> - 291-1
- Drop the now obsolete %%install override hack for debuginfo enablement
* Mon May 13 2024 Timm Bäder <tbaeder@redhat.com> - 290-1
- Add clang link config file