[Rpm-ecosystem] Trying to understand %buildsubdir and debuginfo generation

Jeff Johnson n3npq at me.com
Fri Apr 27 10:56:45 UTC 2018



> On Apr 27, 2018, at 6:35 AM, Neal Gompa <ngompa13 at gmail.com> wrote:
...
> 
> That said, it's required to make debuginfo packages get generated, as I
> found out when working on OpenMandriva's rpm-openmandriva-setup:
> https://github.com/OpenMandrivaSoftware/rpm-openmandriva-setup/commit/df94fda422f9bf3d9e32b6f8f59493d2d478daef
> 

If the test on %buildsubdir is actually still needed ...

A test on %buildsubdir existence delays the substitution until after %setup has actually been run.

Without seeing details with/without the %install overloading, I cannot guess why the overloading is/was necessary.

But if the test is needed, I surely diagnosed the problem and devised the solution way back when.

73 de Jeff



More information about the Rpm-ecosystem mailing list