[Fedora-packaging] Re: Re: Wrong buildroot ...

Todd Zullinger tmz at pobox.com
Mon Feb 12 18:49:26 UTC 2007


Jason L Tibbitts III wrote:
> If you know how to fix RPM to do some of these things, please do
> tell.

I haven't looked at the rpm source at all yet, but I think the
buildroot is one that can be "fixed" just using a macro.

From /usr/lib/rpm/macros:
# ---- Optional rpmrc macros.
#       Macros that are initialized as a side effect of rpmrc and/or spec
#       file parsing.
#
#       Configurable build root path, same as BuildRoot: in a specfile.
#       (Note: the configured macro value will override the spec file value).
#
#%buildroot

If the packaging committee wanted to make a standard buildroot and
enforce it have the build systems set %buildroot.  Then all the
BuildRoot values in spec files could just be removed (at the very
least they should be irrelevant since they will be overridden
according to the comments in /usr/lib/rpm/macros).

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The future isn't what it used to be.
    -- Arthur C. Clarke

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070212/bc0f31e7/attachment.sig>


More information about the Fedora-packaging mailing list