<br><br><div class="gmail_quote">On Dec 7, 2007 5:58 AM, Paulo Cavalcanti &lt;<a href="mailto:promac@gmail.com">promac@gmail.com</a>&gt; 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 &lt;<a href="mailto:Michael_E_Brown@dell.com" target="_blank">Michael_E_Brown@dell.com</a>&gt; 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>&gt; On Dec 5, 2007 7:45 PM, Ville Skyttä &lt;<a href="mailto:ville.skytta@iki.fi" target="_blank">ville.skytta@iki.fi</a>&gt; wrote:<br>&gt;<br>&gt; &gt; On Wednesday 05 December 2007, Michael E Brown wrote:
<br>&gt; &gt; &gt; On Tue, Dec 04, 2007 at 04:59:07PM -0500, Todd Zullinger wrote:<br>&gt; &gt; &gt; &gt; Okay, here&#39;s another set of patches to implement --with{,out} options.<br>&gt; &gt; &gt; &gt; I used git-format-patch this time, and probably did it awkwardly. &nbsp;But
<br>&gt; &gt; &gt; &gt; hopefully not too badly. &nbsp;Just in case (and for non-git users), I&#39;ll<br>&gt; &gt; &gt; &gt; also attach a single diff that should apply cleanly to mock-0.8.14.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Comments and improvements welcome. :)
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; This looks great to me. I&#39;ve committed this to the repo.<br>&gt; &gt;<br>&gt; &gt; Thanks, guys! &nbsp;When there&#39;s a mock release out with these changes<br>&gt; &gt; (assuming<br>
&gt; &gt; they work :)), I think mock has finally caught up with essential features
<br>&gt; &gt; in<br>&gt; &gt; mach and I&#39;m ready to start using mock.<br>&gt; &gt;<br></div><div>&gt; &gt; &lt;<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list
</a>&gt;<br>&gt; &gt;<br>&gt;<br></div><div>&gt; The only issue &nbsp;I have so far is during init:<br>&gt;<br>&gt;<br>&gt; mock -r fedora-7-i386 init<br>&gt;<br>&gt; INFO: mock.py version 0.8.14 starting...<br>
&gt; State Changed: init plugins<br>&gt; State Changed: start<br>&gt; State Changed: lock buildroot<br>&gt; State Changed: clean<br>&gt; State Changed: init<br>&gt; State Changed: lock buildroot<br>&gt; INFO: enabled yum cache
<br>&gt; State Changed: cleaning yum metadata<br>&gt; INFO: enabled root cache<br>&gt; State Changed: running yum<br>&gt; ERROR: Command failed. See logs for output.<br>&gt; &nbsp;# mount -n --bind /home/mock/cache/fedora-7-i386/yum_cache/
<br>&gt; /home/mock/fedora-7-i386/root/var/cache/yum<br>&gt;<br>&gt; &nbsp;But if the chroot is already initialized by a previous mock version, them<br>&gt; everything goes fine.<br>&gt;<br>&gt; 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&nbsp; 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>&nbsp;&nbsp;&nbsp; options.rpmmacros.append(&quot;_with_%s 0&quot; % option)<br><br>
should be replaced for<br><br>&nbsp;&nbsp;&nbsp; options.rpmmacros.append(&quot;_without_%s 1&quot; % 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