openSUSE / rpm-config-SUSE

GNU General Public License v2.0
2 stars 18 forks source link

Redefine %__debug_install_post to simplify debuginfo setup #59

Closed coolo closed 2 years ago

coolo commented 2 years ago

We don't support parallel installation of the same debuginfo - and so don't patch the binaries to create unique build ids. Unfortunately we can't just define the macros affecting the behaviour of debug_install_post as the version in rpm triggers on defined macros and we can't undefine it

DimStar77 commented 2 years ago

Broke kernel builds E.g https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N/kernel-default/standard/x86_64

coolo commented 2 years ago

the kernel-default.spec basically does the same thing I try to do for all packages - but for some magic reason the combination triggers rpm not to create a debuginfo package (even though the creation of one is a completely unrelated macro)