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

Jason L Tibbitts III tibbs at math.uh.edu
Fri Apr 27 03:47:21 UTC 2018


>>>>> "JJ" == Jeff Johnson <n3npq at me.com> writes:

JJ> Note that the macro definitions you are trying to understand are not
JJ> from rpm itself (so you perhaps should be consulting with other
JJ> SME's than me).

Well, I was consulting a mailing list.

Here's a paste from the macros.debug file in the rpm 4.14.1 source:

%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
%{nil}

Here's a paste from the macros that Fedora uses
(/usr/lib/rpm/redhat/macros):

%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
%{nil}

Seems... similar.

JJ> Talk to whomever decided that there was a need to overload %install
JJ> with a test on %buildsubdir.

OK, so, again, I'm trying to talk to this mailing list, which I thought
provided the best chance to reach the people who know.

 - J<


More information about the Rpm-ecosystem mailing list