RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Missing essential build requirement information in binary RPM

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Thu 27 Dec 2007 - 09:11:24 CET
Message-ID: <20071227081124.GA76659@engelschall.com>
On Wed, Dec 26, 2007, Ralf S. Engelschall wrote:

> [...]
>    The "BuildRequire" tag is not passed-through
>    to the binary RPM and the RPM database at all!
> [...]
> So, can we please store this already internally available BuildRequire
> information from the -bb step into the binary RPM? This is IMHO one
> really essential but still missing feature in RPM 5...

Jeff, I really need your assistance here as I'm unable to figure out
in the sources how to actually implement this. I do not well enough
understand the internal processings.

It's fine for me if the actual implementation is still under
#ifdef/#endif for OpenPKG (in case you personally dislike the idea), but
I really have to come up with a solution for this as this feature is a
very long-standing shortcoming we are faced with since years and hence I
really would appreciate to still resolve this for 5.0.

So, can you help out, Jeff? What do I have to patch to get the
"BuildRequire" tags from the .spec to be available via the query
variables BUILDREQUIRENAME/BUILDREQUIREFLAGS/BUILDREQUIREVERSION from
the *binary* RPM and the *installed* package?

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Thu Dec 27 09:13:04 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.