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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux