how to speed up mock?

Adam Williamson awilliam at redhat.com
Tue Jan 19 06:28:02 UTC 2010


On Mon, 2010-01-18 at 15:30 -0500, Tony Nelson wrote:
> On 10-01-18 11:34:44, Ville Skyttä wrote:
>  ...
> > So instead of modifying specfiles, one can do something like this in
> 
> > /etc/mock/site-defaults.cfg:
> >
> > config_opts['macros']['%_smp_mflags'] = '-j3'
> 
> Unless `rpmbuild --showrc` shows a bad definition for _smp_mflags, 

or, more easily:

rpm --eval %_smp_mflags
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net



More information about the devel mailing list