macro for /usr/share/php

Elan Ruusamäe glen at pld-linux.org
Tue Jun 17 12:25:41 CEST 2008


On Tuesday 17 June 2008 11:53:43 Tomasz Pala wrote:
> On Tue, Jun 17, 2008 at 08:40:55 +0300, Elan Ruusamäe wrote:
> > %_javadocdir   %{_datadir}/javadoc
> >
> > some don't like the _underscore "madness", do we have any policy of the
> > macros?
>
> Yes - underscore precedes internal rpm macros (global defined), while
> non-underscore are supposed to be used within specs.

... and are not "functions"?

i mean %configure is "function"

but what about? %xmms_prefix, %perl_sitelib ?

information to think about:
$ grep '^%[^_]' /usr/lib/rpm/macros.build|grep -v ^%define|grep -v '^%{'

-- 
glen


More information about the pld-devel-en mailing list