__ in rpm macros

Michal Moskal malekith at pld-linux.org
Thu May 23 17:01:23 CEST 2002


On Wed, May 22, 2002 at 08:49:44PM +0200, Jacek Konieczny wrote:
> On Wed, May 22, 2002 at 07:44:32PM +0200, Tomasz Kłoczko wrote:
> > > I guess it would be better to use %automake and %autoconf (and maybe
> > > %make).
> > 
> > Not so neccessary. We do not write C code ;) ... but seems you are right :)
> > Comment from /usr/lib/rpm/macros:
> > 
> > #==============================================================================
> > # Macro naming conventions (preliminary):
> > #
> > #       Macros that begin with an underscore are "local" in the sense that
> > #       they (if used) will not be exported in rpm headers. Some macros
> > #       that don't start with an underscore (but look like they should)
> > #       are compatible with macros generated by rpm-2.5.x and will be made
> > #       more consistent in a future release.
> > #
> > 
> > So probaly will be good add:
> >...
> 
> Do we need %automake and such exported in rpm headers???? No. We only
> need them expanded while executing spec file. So, if I understand the
> text above well, you are wrong.

Hmm... so %configure is exported? %makeinstall? %setup? Strange...

-- 
: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h



More information about the pld-devel-en mailing list