<br><br><div class="gmail_quote">On Dec 3, 2007 4:11 AM, Michael E Brown <<a href="mailto:Michael_E_Brown@dell.com">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><div></div><div class="Wj3C7c">On Sun, Dec 02, 2007 at 07:22:22PM -0200, Paulo Cavalcanti wrote:<br>> I am trying to use mock 0.8.<br>><br>> Executing a simple man mock, gives me:<br>><br>> SYNTAX<br>>        mock  [options] --rebuild SRPM [SRPM...]
<br>><br>>        mock  [options] --chroot <cmd><br>><br>>        mock  [options] {--init|clean|shell}<br>><br>>        mock  [options] --installdeps {SRPM|RPM}<br>><br>>        mock  [options] --install PACKAGE
<br>><br>> ----------------------------------------------------------<br>><br>> In fact,<br>><br>> mock -r fedora-8-i386 --init<br>><br>> does not work at all. It must be:<br>><br>> mock -r fedora-8-i386 init
<br>><br>> Therefore, I think that an update for man mock (0.8.9) is in order, right?<br>> It was this way in mock 0.7.<br><br></div></div>This was something I overlooked and it is fixed in 0.8.10 already, which<br>
should be making its way to testing repos.<br></blockquote><div><br>Thanks. I filed a bug report anyway.<br><br>Just a curiosity, what is the reason for the change?<br>mock is written in python, and it would have been simpler
<br>to parse the arguments keeping the "--".<br><br>Another thing is that in version 0.7 I could open a mock shell<br>and check the installed rpms or install an rpm (rpm -ivh). If I try this<br>in version 0.8 I get an error. I know I can use mock install outside
<br>the mock shell, but via shell should still work in my opinion.<br><br>Finally, how do I pass an argument for building via mock,<br><br>--define or --with something?<br><br></div></div>Thanks.<br clear="all"><br>-- <br>
Paulo Roma Cavalcanti<br>LCG - UFRJ