Problems specifying when config_opts['macros'] in a mock configuration file
Michael E Brown
Michael_E_Brown at dell.com
Mon Jul 23 16:00:01 UTC 2007
On Fri, Jul 20, 2007 at 02:09:23PM +0100, Paul Howarth wrote:
> Matt Patterson wrote:
> >On 20/7/07 13:08, "Paul Howarth" <paul at city-fan.org> wrote:
> That's right, but config_opts['macros'] has a default value that's built
> into mock, and that default value includes the definitions of those two
> macros, so if you override the default then you need to define those
> values or they won't be set anywhere.
>
> Maybe something like this would be better:
>
> config_opts['macros'] = config_opts['macros'] + """
> %%_dist bc_gems
> """
An excellent suggestion. I'll update the defaults config file to
indicate that this is the preferred way to set this option.
this will be in the next release.
--
Michael
More information about the Fedora-buildsys-list
mailing list