overriding rpmrc options inside mock

seth vidal skvidal at fedoraproject.org
Thu Mar 27 13:10:03 UTC 2008


On Thu, 2008-03-27 at 12:50 +0100, Hans de Goede wrote:
> Hi,
> 
> I've contacted Matt Domsch to ask him to add 
> -Werror-implicit-function-declaration to the default optflags with his next 
> mass rebuild to get an idea of the amount of packages that this will cause to 
> fail (most likely a huge amount, but we will see).
> 
> Matt is so kind as to give this a try, but, to quote him: "Where do I add that 
> option to make sure it's in effect for the mock builds?"
> 
> I have no clue, so how do we this?
> 

I believe you can look in your /etc/mock/site-defaults.cfg file and
find:
config_opts['macros']['Add_your_macro_name_here'] = "add macro value
here"

I _think_ that does what you're looking for if you know the rpmmacro you
need to set. Which, in this case, I don't. :)

-sv







More information about the fedora-devel-list mailing list