On Jan 20, 2010, at 9:22 AM, Doug Henry wrote:
> It appears that the new openpkg 4 does not honor the variables set in
> ~/.rpmmacros file anymore. Is there a new way to set these variables?
>
No change to RPM behavior. But the macro search path is configured at build
time.
This command shows the default compiled in paths from which
macro files that will be loaded
rpm --showrc
...
MACRO DEFINITIONS:
macrofiles :
/usr/lib/rpm/macros:/usr/lib/rpm/i686-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/i686-linux/macros:~/.rpmmacros
And the paths are overridable with a --macros switch anytime you wish.
Colon separated paths to files, globs are permitted, the 1st entry should always
be /usr/lib/rpm/macros (and *must* exists), others are on an as found and
optional basis.
hth
73 de Jeff
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List [email protected]