[Rpm-ecosystem] Trying to understand %buildsubdir and debuginfo generation
Jason L Tibbitts III
tibbs at math.uh.edu
Thu Apr 26 23:27:48 UTC 2018
>>>>> "JJ" == Jeff Johnson <n3npq at me.com> writes:
JJ> You are unlikely to achieve any joy trying to set or change its
JJ> value.
I'm trying to comprehend how you came to the conclusion that I wanted to
change its value.
JJ> I know of no reason why a -debuginfo package needs a %build
JJ> section.
Well, what I'm seeing is that the generation of debuginfo sections
requires a %build section to be present
JJ> What is much more likely is that you have some odd ordering
JJ> of scriptlet sections,
Well, it goes %prep, %build (empty), %install, %check, %files and
%changelog. As far as I know, that's the normal ordering for a Fedora
specfile.
JJ> [...] because -debuginfo packages are just an invisible subpackage
JJ> where existing section markers are overloaded to insert -debuginfo
JJ> sub package info (which -- iirc from 15yo memory -- happens with
JJ> %prep, not %build, but ICBW)
Yes, I know. It happens in %install, not %prep. I even included the
macro definition where it happens in my message.
- J<
More information about the Rpm-ecosystem
mailing list