rpmbuild ignoring --macros?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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 4.4.2.3 is ignoring the --macros switch. If I

$ rpmbuild -qa --macros=mymacros myapp.spec

it attempts to build below /usr/src/redhat/BUILD

If I

$ 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?

Thanks again.

-- 
Andy Armstrong, Hexten



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux