Re: Need help with rpmbuild

2011-03-31 Thread Steve Blackwell
On Wed, 30 Mar 2011 09:25:41 +0300 Panu Matilainen wrote: > > My app depends on python so I have a > > Requires: python > > line in the .spec file. Python is installed on my target system but > > the python binary in located in /usr/bin as indicated by > > $ rpm -qil python > > When I try to inst

Re: Need help with rpmbuild

2011-03-30 Thread Richard Shaw
On Tue, Mar 29, 2011 at 10:31 PM, Steve Blackwell wrote: > I have got my rpm to build successfully but now I have a dependency > problem. > > My app depends on python so I have a > Requires: python > line in the .spec file. Python is installed on my target system but the > python binary in located

Re: Need help with rpmbuild

2011-03-30 Thread Mamoru Tasaka
Joe Zeff wrote, at 03/30/2011 03:45 PM +9:00: > On 03/29/2011 11:25 PM, Panu Matilainen wrote: >> One or more python scripts in your package contain this shebang: >> #!/usr/local/bin/python >> >> Rpm is right to complain: If you tried to execute that file, it would >> fail because no such python in

Re: Need help with rpmbuild

2011-03-29 Thread Joe Zeff
On 03/29/2011 11:25 PM, Panu Matilainen wrote: > One or more python scripts in your package contain this shebang: > #!/usr/local/bin/python > > Rpm is right to complain: If you tried to execute that file, it would > fail because no such python interpreter exists on a normal Fedora > installation. Y

Re: Need help with rpmbuild

2011-03-29 Thread Panu Matilainen
On 03/30/2011 06:31 AM, Steve Blackwell wrote: > On Thu, 24 Mar 2011 07:58:02 -0400 > Todd Zullinger wrote: > >> On Mar 24, 2011 7:20 AM, "Steve Blackwell" wrote: >>> Ah, Thanks. That helped. Now I need to lookup the syntax of the >>> install macro. >> >> The install I'm referring to here is a no

Re: Need help with rpmbuild

2011-03-29 Thread Steve Blackwell
On Thu, 24 Mar 2011 07:58:02 -0400 Todd Zullinger wrote: > On Mar 24, 2011 7:20 AM, "Steve Blackwell" wrote: > > Ah, Thanks. That helped. Now I need to lookup the syntax of the > > install macro. > > The install I'm referring to here is a normal command, not a macro. > Use man install. > I ha

Re: Need help with rpmbuild

2011-03-24 Thread Todd Zullinger
On Mar 24, 2011 7:20 AM, "Steve Blackwell" wrote: > Ah, Thanks. That helped. Now I need to lookup the syntax of the install > macro. The install I'm referring to here is a normal command, not a macro. Use man install. -- Todd -- users mailing list users@lists.fedoraproject.org To unsubscribe o

Re: Need help with rpmbuild

2011-03-24 Thread Steve Blackwell
On Wed, 23 Mar 2011 21:21:16 -0400 Todd Zullinger wrote: > Steve Blackwell wrote: > > Specifically the install section. I'm not understanding how the > > %install section works with the %files section. > > I hope this is not considered OT. > > The RPM_BUILD_ROOT should exactly mirror the direco

Re: Need help with rpmbuild

2011-03-23 Thread Ed Greshko
On 03/24/2011 09:41 AM, JD wrote: > > See these (long) URL's (sorry, my mail client broke each URL into 3 lines): > > http://www.google.com/url?sa=t&source=web&cd=3&ved=0CCIQFjAC&url=http%3A%2F%2Flinuxtoolkit.blogspot.com%2F2010%2F06%2Frpmbuild-tutorial.html&ei=_5-KTde6MYWcsQPJ_9iZCA&usg=AFQjCNG6f

Re: Need help with rpmbuild

2011-03-23 Thread JD
On 03/23/2011 06:00 PM, Steve Blackwell wrote: > Specifically the install section. I'm not understanding how the > %install section works with the %files section. > I hope this is not considered OT. > > Let's say I want my rpm to install the file "hello" > in /tmp on a target system. The %prep and

Re: Need help with rpmbuild

2011-03-23 Thread Chris Smart
On Thu, Mar 24, 2011 at 12:00 PM, Steve Blackwell wrote: > Specifically the install section. I'm not understanding how the > %install section works with the %files section. > I hope this is not considered OT. AFAIK, the %install section is what you're actually copying as the contents of your pack

Re: Need help with rpmbuild

2011-03-23 Thread Todd Zullinger
Steve Blackwell wrote: > Specifically the install section. I'm not understanding how the > %install section works with the %files section. > I hope this is not considered OT. > > Let's say I want my rpm to install the file "hello" > in /tmp on a target system. The %prep and %build sections work OK

Need help with rpmbuild

2011-03-23 Thread Steve Blackwell
Specifically the install section. I'm not understanding how the %install section works with the %files section. I hope this is not considered OT. Let's say I want my rpm to install the file "hello" in /tmp on a target system. The %prep and %build sections work OK and create my hello file in BUILD/