openmamba/macros: fix calling brp-strip-lto

This commit is contained in:
Silvan Calarco 2024-12-23 12:56:07 +01:00
parent 0a6ff3d9d9
commit e38efdf919

View File

@ -118,7 +118,7 @@
# convert all '-' in basename to '_', add two leading underscores. # convert all '-' in basename to '_', add two leading underscores.
%__brp_compress %{_rpmconfigdir}/brp-compress %{?_prefix} %__brp_compress %{_rpmconfigdir}/brp-compress %{?_prefix}
%__brp_strip %{_rpmconfigdir}/brp-strip %{__strip} %__brp_strip %{_rpmconfigdir}/brp-strip %{__strip}
%__brp_strip_lto /usr/lib/rpm/openmamba/brp-strip-lto %{__strip} %__brp_strip_lto %{_rpmconfigdir}/openmamba/brp-strip-lto %{__strip}
%__brp_strip_comment_note %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} %__brp_strip_comment_note %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump}
%__brp_strip_static_archive %{_rpmconfigdir}/brp-strip-static-archive %{__strip} %__brp_strip_static_archive %{_rpmconfigdir}/brp-strip-static-archive %{__strip}
%__brp_elfperms %{_rpmconfigdir}/brp-elfperms %__brp_elfperms %{_rpmconfigdir}/brp-elfperms
@ -128,6 +128,7 @@
%{?__brp_compress} \ %{?__brp_compress} \
%{?__brp_elfperms} \ %{?__brp_elfperms} \
%{?__brp_strip} \ %{?__brp_strip} \
%{?__brp_strip_lto} \
%{?__brp_strip_static_archive} \ %{?__brp_strip_static_archive} \
%{?__brp_strip_comment_note} \ %{?__brp_strip_comment_note} \
%{?__brp_remove_la_files} \ %{?__brp_remove_la_files} \