__ in rpm macros

Jacek Konieczny jajcus at pld.org.pl
Wed May 22 18:57:15 CEST 2002


On Wed, May 22, 2002 at 06:53:48PM +0200, Michal Moskal wrote:
> Hmm.. I wonder why do we use __ in front of %{__make} and especially
> %{__autoconf} and %{__automake}. In C prefixing __ to name means: "don't
> touch, internal stuff". While in case of make it makes some sense (it
> expands to /usr/bin/make itself and nothing more, in default setup at
> least), but %{__automake} has several options. 
I think thats because names without "__" may be defined to anything in
spec file, so they should not have any special meaning.

> I guess it would be better to use %automake and %autoconf (and maybe
> %make).
I don't thing so. Bu I think %_automake would be better than
%__automake.

Greets,
        Jacek



More information about the pld-devel-en mailing list