Where does mock get %_smp_mflags?
Ville Skyttä
ville.skytta at iki.fi
Thu Jul 21 06:26:08 UTC 2011
On 07/20/2011 11:17 PM, Bill Nottingham wrote:
> Richard Shaw (hobbes1069 at gmail.com) said:
>> I don't know why I didn't notice before but I was reviewing a
>> build.log from a package and noticed it was only using -j2 when I have
>> -j4 in my .rpmmacros. If mock doesn't use .rpmmacros from the user
>> running mock then where does it get it from?
>
>From the system macro file:
You can override it in /etc/mock/site-defaults.cfg:
config_opts['macros']['%_smp_mflags'] = "-j4"
More information about the devel
mailing list