Re: Tweaking Fedora Source RPM builds

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

 



At 5:42 PM -0600 9/26/05, Philip Prindeville wrote:
>I'm trying to build a slightly patched version of the x11-xorg source
>RPM with the latest Unichrome drivers built in...  And I have a generic
>RPM question.
>
>If I don't want to build in /usr/src/redhat/ but instead have an NFS
>mounted directory that I share amongst a variety of machines called
>/home/src/ instead,how would I do a "rpmbuild -bc" but override the
>directory that gets used?
>
>Do I need to redefine _topdir or $RPM_BUILD_ROOT or $RPM_BUILD_DIR or
>what?

Get the fedora-rpmdevtools rpm from Fedora Extras, and modify the
fedora-buildrpmtree script.  You just need a standard RPM build tree, and a
line in your .rpmmacros file.


>P.S. Is there a good tutorial or O'Reilly book or whatever on becoming
>an RPM guru?

_Maximum RPM_, which is a bit out of date:
<http://www.rpm.org/max-rpm/snapshot/>
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


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

  Powered by Linux