Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Bishop
Thanks Russ, I saw all the deps on their page, I guess I'll stop beating my
head against the wall...lol ;)

On Mon, Feb 1, 2010 at 6:14 PM, R P Herrold  wrote:

> On Mon, 1 Feb 2010, Akemi Yagi wrote:
>
> > This CentOS wiki will help you:
> >
> > http://wiki.centos.org/HowTos/RebuildSRPM
> >
> > Akemi
>
> I corresponded privately with the OP on the target earlier
> today -- there are a metric F tonne of dependencies as well
> lying in wait
>
> gnome-web-photo is needed by shutter-0.85.1-1orc.noarch
> gtklp is needed by shutter-0.85.1-1orc.noarch
> perl(File::HomeDir) is needed by shutter-0.85.1-1orc.noarch
> perl(File::HomeDir::Unix) is needed by shutter-0.85.1-1orc.noarch
> perl(File::MimeInfo::Applications) is needed by
> shutter-0.85.1-1orc.noarch
> perl(File::Which) is needed by shutter-0.85.1-1orc.noarch
> perl(Glib) is needed by shutter-0.85.1-1orc.noarch
> perl(Gnome2) is needed by shutter-0.85.1-1orc.noarch
> perl(Gnome2::Canvas) is needed by shutter-0.85.1-1orc.noarch
> perl(Gnome2::GConf) is needed by shutter-0.85.1-1orc.noarch
> perl(Gnome2::VFS) is needed by shutter-0.85.1-1orc.noarch
> perl(Gnome2::Wnck) is needed by shutter-0.85.1-1orc.noarch
> perl(Goo::Canvas) is needed by shutter-0.85.1-1orc.noarch
> perl(Gtk2) is needed by shutter-0.85.1-1orc.noarch
> perl(Gtk2::Gdk::Keysyms) is needed by shutter-0.85.1-1orc.noarch
> perl(Gtk2::ImageView) is needed by shutter-0.85.1-1orc.noarch
> perl(Gtk2::Pango) is needed by shutter-0.85.1-1orc.noarch
>
> I've been poking at it piece-wise today (I was solving
> zoneminder and all deps), but it is not a beginner's task.
>
> -- Russ herrold
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread R P Herrold
On Mon, 1 Feb 2010, Akemi Yagi wrote:

> This CentOS wiki will help you:
>
> http://wiki.centos.org/HowTos/RebuildSRPM
>
> Akemi

I corresponded privately with the OP on the target earlier 
today -- there are a metric F tonne of dependencies as well 
lying in wait

 gnome-web-photo is needed by shutter-0.85.1-1orc.noarch
 gtklp is needed by shutter-0.85.1-1orc.noarch
 perl(File::HomeDir) is needed by shutter-0.85.1-1orc.noarch
 perl(File::HomeDir::Unix) is needed by shutter-0.85.1-1orc.noarch
 perl(File::MimeInfo::Applications) is needed by 
shutter-0.85.1-1orc.noarch
 perl(File::Which) is needed by shutter-0.85.1-1orc.noarch
 perl(Glib) is needed by shutter-0.85.1-1orc.noarch
 perl(Gnome2) is needed by shutter-0.85.1-1orc.noarch
 perl(Gnome2::Canvas) is needed by shutter-0.85.1-1orc.noarch
 perl(Gnome2::GConf) is needed by shutter-0.85.1-1orc.noarch
 perl(Gnome2::VFS) is needed by shutter-0.85.1-1orc.noarch
 perl(Gnome2::Wnck) is needed by shutter-0.85.1-1orc.noarch
 perl(Goo::Canvas) is needed by shutter-0.85.1-1orc.noarch
 perl(Gtk2) is needed by shutter-0.85.1-1orc.noarch
 perl(Gtk2::Gdk::Keysyms) is needed by shutter-0.85.1-1orc.noarch
 perl(Gtk2::ImageView) is needed by shutter-0.85.1-1orc.noarch
 perl(Gtk2::Pango) is needed by shutter-0.85.1-1orc.noarch

I've been poking at it piece-wise today (I was solving 
zoneminder and all deps), but it is not a beginner's task.

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Bishop
Im just not seeing it, prolly staring me right in the face...attached is the
.spec file

On Mon, Feb 1, 2010 at 5:49 PM, Ross Walker  wrote:

> On Feb 1, 2010, at 5:33 PM, Tom Bishop  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
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


shutter.spec
Description: Binary data
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Ross Walker

On Feb 1, 2010, at 5:33 PM, Tom Bishop  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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Clint Dilks
Tom Bishop 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...
>
> On Mon, Feb 1, 2010 at 4:29 PM, Clint Dilks  > wrote:
>
> Tom Bishop wrote:
> > Thanks, that is very usefull and I have followed although I am still
> > coming up with an error when I do a rpmbuild -ba xxx.spec
> >
> > error: Installed (but unpackaged) file(s) found:
> >/usr/share/applications/centos5-shutter.desktop
> >
> >
> > RPM build errors:
> > File not found:
> >
> 
> /var/tmp/shutter-0.85.1-1-root-itsupport/usr/share/applications/shutter.desktop
> > Installed (but unpackaged) file(s) found:
> >/usr/share/applications/centos5-shutter.desktop
> >
> >
> > On Mon, Feb 1, 2010 at 4:20 PM, Akemi Yagi  
> > >> wrote:
> >
> > On Mon, Feb 1, 2010 at 2:13 PM, Tom Bishop
> mailto:bisho...@gmail.com>
> > >> wrote:
> > > 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
> > > filesany 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.
> >
> > This CentOS wiki will help you:
> >
> > http://wiki.centos.org/HowTos/RebuildSRPM
> >
> > Akemi
> > ___
> > CentOS mailing list
> > CentOS@centos.org 
> >
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> >
> 
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org 
> > http://lists.centos.org/mailman/listinfo/centos
> >
> Hi
>
> This means that the build process has found a file that is not covered
> by the files section of you spec file.  If you are sure this is a
> legitimate file then simply add
> /usr/share/applications/centos5-shutter.desktop under the files
> section.
>
> ___
> CentOS mailing list
> CentOS@centos.org 
> http://lists.centos.org/mailman/listinfo/centos
>
>
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
Then I would suggest adding some echos  to spec file that show the values of
%{_datadir} and %{name} to make sure the values they return match
/usr/share/applications/centos5-shutter.desktop
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Bishop
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...

On Mon, Feb 1, 2010 at 4:29 PM, Clint Dilks wrote:

> Tom Bishop wrote:
> > Thanks, that is very usefull and I have followed although I am still
> > coming up with an error when I do a rpmbuild -ba xxx.spec
> >
> > error: Installed (but unpackaged) file(s) found:
> >/usr/share/applications/centos5-shutter.desktop
> >
> >
> > RPM build errors:
> > File not found:
> >
> /var/tmp/shutter-0.85.1-1-root-itsupport/usr/share/applications/shutter.desktop
> > Installed (but unpackaged) file(s) found:
> >/usr/share/applications/centos5-shutter.desktop
> >
> >
> > On Mon, Feb 1, 2010 at 4:20 PM, Akemi Yagi  > > wrote:
> >
> > On Mon, Feb 1, 2010 at 2:13 PM, Tom Bishop  > > wrote:
> > > 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
> > > filesany 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.
> >
> > This CentOS wiki will help you:
> >
> > http://wiki.centos.org/HowTos/RebuildSRPM
> >
> > Akemi
> > ___
> > CentOS mailing list
> > CentOS@centos.org 
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> > 
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> Hi
>
> This means that the build process has found a file that is not covered
> by the files section of you spec file.  If you are sure this is a
> legitimate file then simply add
> /usr/share/applications/centos5-shutter.desktop under the files section.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Clint Dilks
Tom Bishop wrote:
> Thanks, that is very usefull and I have followed although I am still 
> coming up with an error when I do a rpmbuild -ba xxx.spec
>
> error: Installed (but unpackaged) file(s) found:
>/usr/share/applications/centos5-shutter.desktop
>
>
> RPM build errors:
> File not found: 
> /var/tmp/shutter-0.85.1-1-root-itsupport/usr/share/applications/shutter.desktop
> Installed (but unpackaged) file(s) found:
>/usr/share/applications/centos5-shutter.desktop
>
>
> On Mon, Feb 1, 2010 at 4:20 PM, Akemi Yagi  > wrote:
>
> On Mon, Feb 1, 2010 at 2:13 PM, Tom Bishop  > wrote:
> > 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
> > filesany 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.
>
> This CentOS wiki will help you:
>
> http://wiki.centos.org/HowTos/RebuildSRPM
>
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org 
> http://lists.centos.org/mailman/listinfo/centos
>
>
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
Hi

This means that the build process has found a file that is not covered 
by the files section of you spec file.  If you are sure this is a 
legitimate file then simply add 
/usr/share/applications/centos5-shutter.desktop under the files section.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Bishop
Thanks, that is very usefull and I have followed although I am still coming
up with an error when I do a rpmbuild -ba xxx.spec

error: Installed (but unpackaged) file(s) found:
   /usr/share/applications/centos5-shutter.desktop


RPM build errors:
File not found:
/var/tmp/shutter-0.85.1-1-root-itsupport/usr/share/applications/shutter.desktop
Installed (but unpackaged) file(s) found:
   /usr/share/applications/centos5-shutter.desktop


On Mon, Feb 1, 2010 at 4:20 PM, Akemi Yagi  wrote:

> On Mon, Feb 1, 2010 at 2:13 PM, Tom Bishop  wrote:
> > 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
> > filesany 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.
>
> This CentOS wiki will help you:
>
> http://wiki.centos.org/HowTos/RebuildSRPM
>
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Akemi Yagi
On Mon, Feb 1, 2010 at 2:13 PM, Tom Bishop  wrote:
> 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
> filesany 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.

This CentOS wiki will help you:

http://wiki.centos.org/HowTos/RebuildSRPM

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Bishop
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
filesany 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  wrote:

> On Mon, Feb 1, 2010 at 12:01 PM, Tom Bishop  wrote:
> > Thanks for the suggestions I will give mock a go and see what
> > happenswill need to go read up and understand what mock is doing
> > though
> >
> > On Mon, Feb 1, 2010 at 10:32 AM, Tom Diehl  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
> >> 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   tdi...@rogueind.com  Spamtrap address
> >> mtd...@rogueind.com
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> http://lists.centos.org/mailman/listinfo/centos
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
>
> 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.
>
> Ryan
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Ryan Wagoner
On Mon, Feb 1, 2010 at 12:01 PM, Tom Bishop  wrote:
> Thanks for the suggestions I will give mock a go and see what
> happenswill need to go read up and understand what mock is doing
> though
>
> On Mon, Feb 1, 2010 at 10:32 AM, Tom Diehl  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
>> 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       tdi...@rogueind.com      Spamtrap address
>> mtd...@rogueind.com
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

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.

Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Bishop
Thanks for the suggestions I will give mock a go and see what
happenswill need to go read up and understand what mock is doing
though

On Mon, Feb 1, 2010 at 10:32 AM, Tom Diehl  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 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   tdi...@rogueind.com  Spamtrap address
> mtd...@rogueind.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-02-01 Thread Tom Diehl
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   tdi...@rogueind.com  Spamtrap address mtd...@rogueind.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to rebuild srpm from fedora....

2010-01-31 Thread Mr. X
Tom,

--- On Sun, 1/31/10, Tom Bishop  wrote:

> From: Tom Bishop 
> Subject: [CentOS] Trying to rebuild srpm from fedora
> To: "CentOS mailing list" 
> 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-original

Below 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


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Trying to rebuild srpm from fedora....

2010-01-31 Thread Tom Bishop
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.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos