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

Jeff Johnson n3npq at me.com
Fri Apr 27 03:43:18 UTC 2018



> On Apr 26, 2018, at 9:53 PM, Jason L Tibbitts III <tibbs at math.uh.edu> wrote:
> 
> And to continue the spam, I see that in 2016 rpm gained support for
> section end markers ("%end") which also conveniently solves the problem.
> I know I had asked about that years ago but I had no idea that it had
> been implemented.  As far as I can tell, though, you need rpm 4.14.
> 

The addition of %end in 2016 (and Fedora RPM4) as a solution fixes you problem: Be happy!

Meanwhile, the rpm spec file parser is hugely flawed (and always has been). There are hacks upon hacks upon hacks with almost no design, only bug reports, for the last 20y.

Disclaimer:
Feel free to blame me for any/all implementations in rpmbuild even though I haven't touched any of RPM4 (RPM5 has most of the same flaws) since 2005.

hth

73 de Jeff

> - J<
> _______________________________________________
> Rpm-ecosystem mailing list
> Rpm-ecosystem at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-ecosystem


More information about the Rpm-ecosystem mailing list