[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mock 0.8.9



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).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]