Re: how to override "BuildRoot:" directive in spec file?

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

 



#
# A standardized .rpmmacros file to allow for development in directories
# other than /usr/src/redhat/. Only override specific directories,
# distribution and packager. Keep compiler and such to default.
#

%XXX            %(rpm -q redhat-release)
##
## Change the directory I put my source in
%_topdir	/home/smoogen/LANL_RPM_DVL/%{XXX}
## Change the directory that I put buildroot stuff in
%_tmppath       /scratch/smoogen/redhat/TREE/


On Sat, 27 Dec 2003, Robert P. J. Day wrote:

>  i can see that, when running "rpmbuild", you can override the "BuildRoot:"
>directive in the spec file with the command line option "--buildroot".  but is
>there a way to have the settings in my .rpmmacros file override that value
>as well?  can i force my personal ~/.rpmmacros settings to take precedence
>over the spec file setting?
>
>rday
>
>
>
>_______________________________________________
>Rpm-list mailing list
>Rpm-list@xxxxxxxxxx
>https://www.redhat.com/mailman/listinfo/rpm-list
>

-- 
Stephen John Smoogen            smoogen@xxxxxxxx
Los Alamos National Labrador  CCN-5 Sched 5/40  PH: 5-8058
Ta-03 SM-261  MailStop P208 DP 17U  Los Alamos, NM 87545
-- So shines a good deed in a weary world. = Willy Wonka --


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux