rpmbuild ignoring --macros?
andy at hexten.net
Tue Jan 5 14:03:22 UTC 2010
(sorry for the barrage of questions - and thanks for the answers)
I've got a macros file that I'd like rpmbuild to use. It seems that rpmbuild 18.104.22.168 is ignoring the --macros switch. If I
$ rpmbuild -qa --macros=mymacros myapp.spec
it attempts to build below /usr/src/redhat/BUILD
$ ln -s $(pwd)/mymacros ~/.rpmmacros
$ rpmbuild -qa myapp.spec
I get the behaviour I'm expecting.
I'd prefer not to have a ~/.rpmmacros and assumed that naming a macros file using the --macros switch would be alternative. What am I missing?
Andy Armstrong, Hexten
More information about the Rpm-list