mock 0.8.9

Ville Skyttä ville.skytta at iki.fi
Tue Dec 4 16:27:33 UTC 2007


On Tuesday 04 December 2007, Todd Zullinger wrote:
> Michael E Brown wrote:
> > Patches welcome.
>
> Here's one.  This adds a --define option, which may be used multiple
> times.  Usage is pretty much like the rpm --define option:
>
> $ mock --define="with_extra_cheese 1" --define="packager Monkey" ...

That's nice, but even better IMHO would be something that could be used to 
pass arbitrary options (or at least -D, --define, --with, --without 
and --target) as-is to rpmbuild, for example everything after a "--", like

mock rebuild foo.src.rpm -- --define="foo bar" --target=i686 --with 
foo --without bar --define 'quux baz'

mach can do that (without the -- though; it passes everything after the 
src.rpm names to rpmbuild).




More information about the fedora-devel-list mailing list