[Rpm-maint] [rpm-software-management/rpm] Require %{buildsubdir} to be defined to get debuginfo packages again (PR #3140)

Panu Matilainen notifications at github.com
Mon Jun 3 13:36:55 UTC 2024


One of the intentions with the debuginfo enablement rework in 4.20 was to allow debuginfo generation on packages that don't use %setup, or in other words, don't have %{buildsubdir} defined. Turns out there's just so many things out there, relying on all these exact bits and pieces to be JUST SO, this causes more harm than its worth.

So bring back the requirement of %{buildsubdir} macro to be defined for debuginfo generation to take place, update the caps testcase to cover both. At least we can now just define buildsubdir from the spec or even command line, so the promise to have debuginfo without %setup still holds, it's just not automatic everywhere.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Require %{buildsubdir} to be defined to get debuginfo packages again

-- File Changes --

    M platform.in (2)
    M tests/rpmbuild.at (16)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3140 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240603/4d437301/attachment.html>


More information about the Rpm-maint mailing list