Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All these years, enabling debuginfo has required distros to hijack the spec %install section with a macro like this: %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\ %%install\ %{nil} This for a widely used, longtime upstream supported feature is just gross, and also very non-obvious, feeble and whatnot. And totally prevents the new append/prepend options from being used with %install. Turn this isto a proper macro in __spec_install_template that drops the package definition into a .SPECPART file. This way debuginfo can be part of the %install script without messing up the parsing. Fixes: rpm-software-management#2204 Fixes: rpm-software-management#1878
- Loading branch information