Usage of %{__macros} in our .specs?

Christopher Stone chris.stone at gmail.com
Wed Dec 17 16:08:28 UTC 2008


2008/12/17 Martin Sourada <martin.sourada at 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.




More information about the fedora-devel-list mailing list