Anyway, here is my work around for the time being:
Create a file called rpmrc and put this in it:
macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:~/path/to/your/rpmmacros
It should all be on one line. Change the last entry from ~/path/to/your/rpmmacros to point to your rpmmacros file.
Since you can put the rpmrc file where ever you want you can now use:
rpmbuild --rcfile=/path/to/your/rpmrc -ba specfile
BTW I got the macrofiles: entry from the end of /usr/lib/rpm/rpmrc
Hope this helps,
Zen
_________________________________________________________________
Get rid of annoying pop-up ads with the new MSN Toolbar ? FREE! http://toolbar.msn.com/go/onm00200414ave/direct/01/
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list