Description of problem:
If the rpmrc contains macros that point to the target specific
directories, they are not always reread properly.
Version-Release number of selected component (if applicable):
Created attachment 101843 [details]
Patch to add the two required rpmFreeRpmrc() calls.
This is what we have used in MontaVista Linux since rpm version 4.1.
Added to rpm CVS HEAD, should be in rpm-4.4 when built.
Thanks for the patch.