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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100131/722015d2/attachment-0001.html>
Tom, --- On Sun, 1/31/10, Tom Bishop <bishoptf at gmail.com> wrote:> From: Tom Bishop <bishoptf at gmail.com> > Subject: [CentOS] Trying to rebuild srpm from fedora.... > To: "CentOS mailing list" <centos at centos.org> > Date: Sunday, January 31, 2010, 8:11 PM > 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-originalBelow is an example of what firefox has for this line in the SPEC $ grep -i vendor ./redhat/SPECS/*.spec ./redhat/SPECS/firefox.spec:desktop-file-install --vendor mozilla \ so .. if not done already, you need to rpm -i the SRC.rpm and edit the spec. -- Mark
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 define 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 of the box. I have numerous rpms that are not found in CentOS that are in fedora. Most of them rebuild without modification in mock on CentOS. Hope this helps. Regards, -- Tom Diehl tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
On Feb 1, 2010, at 5:33 PM, Tom Bishop <bishoptf at gmail.com> wrote:> Here is the section of the spec file: > > %{_bindir}/%{name} > %{_datadir}/applications/%{name}.desktop > %{_datadir}/%{name} > %{_mandir}/man1/%{name}* > %{_datadir}/pixmaps/ > %{_datadir}/icons/hicolor/*/apps/%{name}.* > > > it appears to be coverd...Ah, not really, rpmbuild is complainig about: /usr/share/applications/centos5-shutter.desktop It's possible the spec file originally mv'd the file to remove the fedoraX, but since the distro changed the file name changed. You'll need to edit the spec fix. -Ross -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100201/77ea2b76/attachment-0001.html>