Mock for more than one config\arch?

Kalev Lember kalev at smartlink.ee
Mon Jul 12 09:01:27 UTC 2010


On 07/12/2010 11:39 AM, Frank Murphy wrote:
> I'm doing something wrong but what is the correct sequence to build for
> more that one arch, mock --help\man not throwing much light for me.
>
> mock -r fedora12.i386 fedora12.x86_64 fedora 13.xx fedoraDevel.xx
> --rebuild --resultdir=/some/local/path somesrc.rpm
>
>

for ARCH in fedora-12-i386 fedora-12-x86_64 fedora-rawhide-i386 ; do
     mock -r $ARCH mypackage.src.rpm
done

-- 
Kalev


More information about the test mailing list