RPM Community Forums

Mailing List Message of <rpm-users>

Re: Where to put distrubtion-specific macros

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 14 Oct 2008 - 20:08:25 CEST
Message-id: <DF81B44C-1316-40A1-BC60-D01EB6B4D350@mac.com>

On Oct 14, 2008, at 1:42 PM, Eric MSP Veith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ok, thanks for the answers.
> I'll put my stuff into /usr/lib/rpm/my-distro then. As far as I  
> understood,
> these macros should overwrite definitions already existing
> in /usr/lib/rpm/macros, right?
>

All depends on the ordering specified to --macros (and similar  
compiled in)
colon separated paths.

Note that macro values  are stacks, the last mention'ed definition  
value will
be used.

73 de Jeff
Received on Tue Oct 14 20:08:53 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.