Re: Need help with rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 Mar 2011 21:21:16 -0400
Todd Zullinger <tmz@xxxxxxxxx> 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 direcotry structure you
> want to have your package files installed into.  If you want the file
> in /tmp, then you would want to use $RPM_BUILD_ROOT/tmp as the
> destination.  You must create RPM_BUILD_ROOT/tmp.  If it was me, I'd
> use the install command to do this in one step:
> 
> %install
> install -p -m755 -D %{name} RPM_BUILD_ROOT/tmp/%{name}
> 

Ah, Thanks. That helped. Now I need to lookup the syntax of the install
macro. 
And thanks to Chris & JD too.

Steve


-- 
Changing lives one card at a time

http://www.send1cardnow.com

Attachment: signature.asc
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux