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

Re: Usage of %{__macros} in our .specs?



2008/12/17 Martin Sourada <martin sourada gmail com>:
> As I understand it, if I use make, whatever make is find in the $PATH of
> the user the package is build under, it will be used, however if I use
> %{__make} /usr/bin/make (as per 'rpmbuild --showrc" output) will be used
> regardless of what environment path I've set. It's similar for other
> macros like %{__rm}, %{__sed}, %{__mv} or %{__cp}, %{__ln_s} or
> %{__mkdir_p} to name a few.

It is my understanding that the macros are intended for use in
%pre(un)/%post(un) sections only, but please don't ask me to explain
why.


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