Thanks for the tips so I have gotten mock installed but for the life of me I can't figure out how to install the srpm, edit the spec file and then re-build.  I have seen an example that installs and then I can edit via mock shell, but when I do a rpmbuild -ba or -bb it says its misssing the .tar files....any help or pointing in the right direction would be appreciated.  I know what I need to do to the spec file just not sure how to achieve it...thanks.<br>
<br><div class="gmail_quote">On Mon, Feb 1, 2010 at 11:12 AM, Ryan Wagoner <span dir="ltr"><<a href="mailto:rswagoner@gmail.com">rswagoner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mon, Feb 1, 2010 at 12:01 PM, Tom Bishop <<a href="mailto:bishoptf@gmail.com">bishoptf@gmail.com</a>> wrote:<br>
> Thanks for the suggestions I will give mock a go and see what<br>
> happens....will need to go read up and understand what mock is doing<br>
> though....<br>
><br>
> On Mon, Feb 1, 2010 at 10:32 AM, Tom Diehl <<a href="mailto:tdiehl@rogueind.com">tdiehl@rogueind.com</a>> wrote:<br>
>><br>
>> On Sun, 31 Jan 2010, Tom Bishop wrote:<br>
>><br>
>> > So I am trying to rebuild this source rpm from fedora<br>
>> > 10, shutter-0.85.1-1.fc10.src.rpm -its a screen capture application (<br>
>> > <a href="http://shutter-project.org/" target="_blank">http://shutter-project.org/</a> )  that I have been unable to find in any<br>
>> > repos,<br>
>> > although it is in the fedora repos. Thought I would give it a go and try<br>
>> > to<br>
>> > rebuild the rpm, so here is the error that I am getting:<br>
>> ><br>
>> ><br>
>> > + desktop-file-install --delete-original --dir<br>
>> > /var/tmp/shutter-0.85.1-1-root-itsupport//usr/share/applications<br>
>> ><br>
>> > /var/tmp/shutter-0.85.1-1-root-itsupport//usr/share/applications/shutter.desktop<br>
>> > Must specify the vendor namespace for these files with --vendor<br>
>> > error: Bad exit status from /var/tmp/rpm-tmp.38313 (%install)<br>
>> ><br>
>> ><br>
>> ><br>
>> > Anyone have any tips or 2x4 :) to point me in the right direction I<br>
>> > would<br>
>> > appreciate it, thanks.  Oh yeah, running centos 5.4 i386 arch, thanks<br>
>> > again.<br>
>><br>
>> As someone else said, at the very least you need to edit the spec to<br>
>> define<br>
>> a vendor. IMO the better way is to setup mock and use it to (re)build all<br>
>> of your rpms. That way you can for the most part, use the fedora specs out<br>
>> of<br>
>> the box.<br>
>><br>
>> I have numerous rpms that are not found in CentOS that are in fedora. Most<br>
>> of<br>
>> them rebuild without modification in mock on CentOS.<br>
>><br>
>> Hope this helps.<br>
>><br>
>> Regards,<br>
>><br>
>> --<br>
>> Tom Diehl       <a href="mailto:tdiehl@rogueind.com">tdiehl@rogueind.com</a>      Spamtrap address<br>
>> <a href="mailto:mtd123@rogueind.com">mtd123@rogueind.com</a><br>
>> _______________________________________________<br>
>> CentOS mailing list<br>
>> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
>> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>
><br>
> _______________________________________________<br>
> CentOS mailing list<br>
> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>
><br>
<br>
</div></div>Mock creates a chroot environment, downloads all the required<br>
packages, and builds the SRPM. It is a way to ensure that you get a<br>
clean consistent build and to verify that your SRPM build dependencies<br>
are correct. You configure /etc/mock/your-arch and run mock name.srpm.<br>
Fairly simple to use.<br>
<font color="#888888"><br>
Ryan<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>