Change ${RPM_BUILD_ROOT

Peter Gordon peter at thecodergeek.com
Sun Mar 4 00:42:23 UTC 2007


On Sun, 2007-03-04 at 00:26 +0000, Mário Gamito wrote:
> My question is how to change the ${RPM_BUILD_ROOT} variable to another 
> directory in a spec file.

You would need to change the value of the BuildRoot tag. E.g.,

BuildRoot: /path/to/desired/tmp/build

Hope that helps.
-- 
Peter Gordon (codergeek42) / FSF Associate Member #5015
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
Blog: http://thecodergeek.com/blog/ 
About: http://fedoraproject.org/wiki/PeterGordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20070303/3cd110fd/attachment.sig>


More information about the fedora-extras-list mailing list