Move llvm_compile_lto_to_elf before __debug_install_post

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2082081
This commit is contained in:
Timm Bäder 2022-06-22 12:56:17 +02:00
parent e7f471687c
commit 6024b1e611
2 changed files with 5 additions and 2 deletions

2
macros
View File

@ -259,7 +259,6 @@ print(result)
# packagers, don't undefine the entire macro, see the individual macros in /usr/lib/rpm/macros.d/macros.python-srpm
%__os_install_post \
%[ "%{toolchain}" == "clang" ? "%{?__brp_llvm_compile_lto_elf}" : "%{nil}" ] \
%{?__brp_ldconfig} \
%{?__brp_compress} \
%{!?__debug_package:\
@ -275,6 +274,7 @@ print(result)
%{nil}
%__spec_install_post\
%[ "%{toolchain}" == "clang" ? "%{?__brp_llvm_compile_lto_elf}" : "%{nil}" ] \
%{?__debug_package:%{__debug_install_post}}\
%{__arch_install_post}\
%{__os_install_post}\

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 225
%global baserelease 226
Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config
@ -219,6 +219,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%doc buildflags.md
%changelog
* Wed Jun 22 2022 Timm Bäder <tbaeder@redhat.com> - 226-1
- Move llvm_compile_lto_to_elf before __debug_install_post
* Fri Jun 17 2022 Nick Clifton <nickc@redhat.com> - 225-1
- Add definition of _find_debuginfo_extra_opts which will
- move annobin data into a separate debuginfo file.