On Thu, Jan 05, 2006, Doug Summers wrote:

> Ralf S. Engelschall wrote:
> >On Wed, Jan 04, 2006, Doug Summers wrote:
> >
> >>I want to be able to recreate how I built certain binary RPM's. How to I
> >>get the build options that were used?
> >
> ><prefix>/bin/openpkg rpm -qi <package-name>
> >
> >The build options are at the end under "Provides:" as the build options
> >are provided to other packages in order to allow those to optionally
> >"Require:" them.
>
> This gives me most of the info I need, but I'm also looking for other
> options that might have been passed: l_cc, l_cflags, etc.

Those informations are dynamically determined by RPM macros during
build-time and not stored by RPM in the database. No chance to query
those. Sorry.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to