<br><br><div class="gmail_quote">On Dec 7, 2007 5:58 AM, Paulo Cavalcanti <<a href="mailto:promac@gmail.com">promac@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Dec 7, 2007 5:04 AM, Michael E Brown <<a href="mailto:Michael_E_Brown@dell.com" target="_blank">Michael_E_Brown@dell.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>On Wed, Dec 05, 2007 at 07:56:11PM -0200, Paulo Cavalcanti wrote:<br>> On Dec 5, 2007 7:45 PM, Ville Skyttä <<a href="mailto:ville.skytta@iki.fi" target="_blank">ville.skytta@iki.fi</a>> wrote:<br>><br>> > On Wednesday 05 December 2007, Michael E Brown wrote:
<br>> > > On Tue, Dec 04, 2007 at 04:59:07PM -0500, Todd Zullinger wrote:<br>> > > > Okay, here's another set of patches to implement --with{,out} options.<br>> > > > I used git-format-patch this time, and probably did it awkwardly.  But
<br>> > > > hopefully not too badly.  Just in case (and for non-git users), I'll<br>> > > > also attach a single diff that should apply cleanly to mock-0.8.14.<br>> > > ><br>> > > > Comments and improvements welcome. :)
<br>> > ><br>> > > This looks great to me. I've committed this to the repo.<br>> ><br>> > Thanks, guys!  When there's a mock release out with these changes<br>> > (assuming<br>
> > they work :)), I think mock has finally caught up with essential features
<br>> > in<br>> > mach and I'm ready to start using mock.<br>> ><br></div><div>> > <<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list
</a>><br>> ><br>><br></div><div>> The only issue  I have so far is during init:<br>><br>><br>> mock -r fedora-7-i386 init<br>><br>> INFO: mock.py version 0.8.14 starting...<br>
> State Changed: init plugins<br>> State Changed: start<br>> State Changed: lock buildroot<br>> State Changed: clean<br>> State Changed: init<br>> State Changed: lock buildroot<br>> INFO: enabled yum cache
<br>> State Changed: cleaning yum metadata<br>> INFO: enabled root cache<br>> State Changed: running yum<br>> ERROR: Command failed. See logs for output.<br>>  # mount -n --bind /home/mock/cache/fedora-7-i386/yum_cache/
<br>> /home/mock/fedora-7-i386/root/var/cache/yum<br>><br>>  But if the chroot is already initialized by a previous mock version, them<br>> everything goes fine.<br>><br>> I have an updated mock rpm if anyone else is willing to try it.
<br><br></div>Mock 0.8.15 is in updates-stable now and has a fix for this problem.<br></blockquote></div></div><div><br>Thanks! <br><br>I installed  mock 0.8.15 yesterday and I did not see any problem yet.<br></div></div>
This version seems to be very good.
<div><div></div><div class="Wj3C7c"><br></div></div></blockquote><div><br>Hi,<br><br>The --without option is not working.<br><br>I think that  <br><br>    options.rpmmacros.append("_with_%s 0" % option)<br><br>
should be replaced for<br><br>    options.rpmmacros.append("_without_%s 1" % option)<br><br>I am appending a patch to fix it<br><br>Thanks.<br></div></div><br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ