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.
While looking at something else, I discovered that the debuginfo machinery is still hooked on to this ugly hack of overloading
%installwith a macro: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.