Tweaking Fedora Source RPM builds

Sam Varshavchik mrsam at courier-mta.com
Mon Sep 26 23:58:24 UTC 2005


Philip Prindeville writes:

> 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?

Redefine _topdir in your $HOME/.rpmmacros


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050926/708bde89/attachment-0001.sig>


More information about the fedora-list mailing list