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.
On Mon, Feb 1, 2010 at 11:12 AM, Ryan Wagoner <firstname.lastname@example.org> wrote:
On Mon, Feb 1, 2010 at 12:01 PM, Tom Bishop <email@example.com> wrote:
> Thanks for the suggestions I will give mock a go and see what
> happens....will need to go read up and understand what mock is doing
> On Mon, Feb 1, 2010 at 10:32 AM, Tom Diehl <firstname.lastname@example.org> wrote:
>> On Sun, 31 Jan 2010, Tom Bishop wrote:
>> > So I am trying to rebuild this source rpm from fedora
>> > 10, shutter-0.85.1-1.fc10.src.rpm -its a screen capture application (
>> > http://shutter-project.org/ ) *that I have been unable to find in any
>> > repos,
>> > although it is in the fedora repos. Thought I would give it a go and try
>> > to
>> > rebuild the rpm, so here is the error that I am getting:
>> > + desktop-file-install --delete-original --dir
>> > /var/tmp/shutter-0.85.1-1-root-itsupport//usr/share/applications
>> > /var/tmp/shutter-0.85.1-1-root-itsupport//usr/share/applications/shutter.desktop
>> > Must specify the vendor namespace for these files with --vendor
>> > error: Bad exit status from /var/tmp/rpm-tmp.38313 (%install)
>> > Anyone have any tips or 2x4
to point me in the right direction I
>> > would
>> > appreciate it, thanks. *Oh yeah, running centos 5.4 i386 arch, thanks
>> > again.
>> As someone else said, at the very least you need to edit the spec to
>> a vendor. IMO the better way is to setup mock and use it to (re)build all
>> of your rpms. That way you can for the most part, use the fedora specs out
>> the box.
>> I have numerous rpms that are not found in CentOS that are in fedora. Most
>> them rebuild without modification in mock on CentOS.
>> Hope this helps.
>> Tom Diehl * * * email@example.com * * *Spamtrap address
>> CentOS mailing list
> CentOS mailing list
Mock creates a chroot environment, downloads all the required
packages, and builds the SRPM. It is a way to ensure that you get a
clean consistent build and to verify that your SRPM build dependencies
are correct. You configure /etc/mock/your-arch and run mock name.srpm.
Fairly simple to use.
CentOS mailing list
CentOS mailing list