On Tue, Jun 04, 2024 at 08:40:15AM +0200, Sandro Mani wrote: > Hi > > In rpm 4.20 as currently available in rawhide, defining __debug_install_post > seems to have no effect. The %mingw_package_header sets __debug_install_post > as follows > > %mingw_package_header \ > %global __strip %{mingw_strip} \ > %global __objdump %{mingw_objdump} \ FWIW, I don't think these two overrides should be required anymore. The standard strip/objdump commands in /usr/bin work with PE files these days, and for the pacakges where we have merged mingw+native specs these overrides aren't used. Given that, I'd question whether %mingw_package_header needs to continue to exist either ? it is no harder / great lines of code to simply call %mingw_debug_install_post in %install, thus avoiding the rpm 4.20 compat issue. > %global __debug_install_post %%{mingw_debug_install_post} \ > %{nil} > > but %mingw_debug_install_post is never executed. Manually running > > %mingw_debug_install_post > > in %install works however. > > Perhaps this is related to [1]? What is the correct way now to trigger the > custom debug extraction script? > > Thanks > Sandro > > [1] https://github.com/rpm-software-management/rpm/issues/2204 > -- With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue