In regard to: rpm-4.4.8 selects a wrong build target, Eric MSP Veith said...:
> Is there a way to force rpmbuild to use a certain target architecture, save
> the "--target=foo-bar-baz" switch?
Create a file called
/etc/rpm/platform
In it put something like
i686-unknown-linux-gnu
or
i686-redhat-linux
or whatever default target you want to use. platform can actually hold
multiple patterns. For my Opteron Solaris workstation, I've been using
x86_64-sun-solaris
x86_64-sun-solaris2.10
x86_64-[^-]*-solaris.*
noarch-[^-]*-.*
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
Received on Thu Jul 12 23:19:58 2007