overriding rpmrc options inside mock

Todd Zullinger tmz at pobox.com
Thu Mar 27 16:50:38 UTC 2008


Michael E Brown wrote:
> As seth mentioned, the 'macros' config option was created for this, and
> would most likely be more appropriate, although using 'files' is
> creative. :)
> 
> config_opts['macros']['Add_your_macro_name_here'] = "add macro value 
> here"

The point though is that overridding optflags was said to require
editing .rpmrc, not .rpmmacros[1].  If that's not the case, then sure,
using the simpler config_opts['macros'] would be better.

[1] https://www.redhat.com/archives/fedora-devel-list/2008-March/msg01773.html

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Religion. A daughter of Hope and Fear, explaining to Ignorance the
nature of the Unknowable.
    -- Ambrose Bierce, The Enlarged Devil's Dictionary, 1906

-------------- 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-devel-list/attachments/20080327/d6a735fb/attachment.sig>


More information about the fedora-devel-list mailing list