Re: overriding rpmrc options inside mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpq0Jh5jTp94.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux