[Rpm-maint] [rpm-software-management/rpm] Add _find_debuginfo_extra_opts (PR #3958)

nickclifton notifications at github.com
Fri Sep 19 15:38:45 UTC 2025


This PR adds a new variable: _find_debuginfo_extra_opts to the list of options that are passed to the find_debuginfo script.

It can be used by other macro files to pass extra options to find_debuginfo.  (As opposed to the _find_debuginfo_opts variable which is used by individual spec files).

An an example of the use of this variable is in the macro file supplied as part of the redhat-rpm-config package used by Fedora, CentOS and RHEL.  The macro file there defines _find_debuginfo_extra_opts like this:

  %_find_debuginfo_extra_opts %{?_annotated_build:--remove-section .gnu.build.attributes}

This is used to reduce the size of binaries by removing an unneeded section.

Ready for inclusion.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3958

-- Commit Summary --

  * Add the ability for other macro files to pass options to the find_debuginfo script via a new variable: _find_debuginfo_extra_opts

-- File Changes --

    M macros.in (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3958.patch
https://github.com/rpm-software-management/rpm/pull/3958.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3958
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3958 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250919/6c52b62f/attachment.htm>


More information about the Rpm-maint mailing list