On Tue, Dec 04, 2007 at 04:05:00PM +0000, Paul Howarth wrote: > 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" ... > > > >Rather than pass the define options directly to rpmbuild, they are > >added to the .rpmmacros file in the chroot. I'm not sure if there's > >much difference in practice. If anyone knows differently, please > >speak up. > > Anything written to the buildroot might get cached, mightn't it? Excellent thought. In this case, it is safe. The .rpmmacros file is written from scratch in init() every time, so there is no possibility of an old .rpmmacros file hanging around. -- Michael -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list