[Rpm-maint] [rpm-software-management/rpm] Properly upstream debuginfo enablement (Issue #2204)

Panu Matilainen notifications at github.com
Mon Sep 26 11:51:27 UTC 2022


While looking at something else, I discovered that the debuginfo machinery is still hooked on to this ugly hack of overloading `%install` with a macro:

```
%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
%{nil}
```

I'm sure this was initially intended as just a quick hack until a better mechanism is devised, but here we are 20 years later and anybody wanting to use debuginfo packages needs to do this in their distro config. I thought this was taken care of in the great debuginfo revamp a few years ago but apparently not, the above magic is just copied to the test-suite where testing debuginfo is needed.

It's about time we upstream a proper integration for this, really. One that doesn't involve macro overload hacks.

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

Message ID: <rpm-software-management/rpm/issues/2204 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220926/2ce15292/attachment.html>


More information about the Rpm-maint mailing list