Add $RPM_CONFIGDIR/macros.d/ directory to default macro path (RhBug:846679)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 9 Nov 2012 06:21:51 +0000 (08:21 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 14 Nov 2012 10:37:57 +0000 (12:37 +0200)
commita4dd60f7fb599646689ca3d92acce129a8591dba
tree702a2b30d058cb44cd2c509af97d47da074df992
parenta6b04e778c68f6122549a96391455c2917b36150
Add $RPM_CONFIGDIR/macros.d/ directory to default macro path (RhBug:846679)

- There of course already is a drop-in directory for macro config bits
  in $(sysconfdir)/rpm/ but as /etc is supposed to be per-host admin
  territory, having another place for system package provided rpm config
  doesn't seem unreasonable.
- Whether this early in the path is the best possible or even reasonable
  position for this remains to be seen... but this way it could be used
  for "factory default" config bits by rpm itself as well, while still
  permitting vendor/host/user override.
(cherry picked from commit dcd261b9fe1e61e8ac3e99dbb443145bbf896886)
lib/rpmrc.c