Re: BuildRoot in spec files?

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

 



>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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux