BuildRoot in spec files?
Steve G
linux_4ever at yahoo.com
Thu Feb 15 14:21:34 UTC 2007
>A macro doesn't work. It won't get used unless BuildRoot is in the spec file.
I don't buy this at all. To start with, we can define a macro:
%buildrootdir %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
This could be used in spec files:
BuildRoot: %{buildrootdir}
Just doing that much would be an improvement.
Then I look at somethings we did in the past like RPM_OPT_FLAGS and how we had to
put that in spec files by hand and then someone figured out how to get that done
automatically. I think we can make this get applied automatically, too.
-Steve
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
More information about the fedora-devel-list
mailing list