RPM Community Forums

Mailing List Message of <rpm-users>

rpm-4.4.8 selects a wrong build target

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Thu 12 Jul 2007 - 22:42:38 CEST
Message-Id: <200707122242.43673.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

yet another problem from me. :-)

I noticed that RPM version 4.4.8 selects the build target in another way than 
version 4.4.6 did. I have a file ~/.rpmrc, which holds especially the 
following lines:

arch_canon: i686: i686 1
buildarchtranslate: athlon: i686
buildarchtranslate: i686: i686

This always let rpmbuild automatically select "i686" as my build target. With 
version 4.4.8, it now build for "athlon", which is definetly not what I want. 
Replaceing the entries in /usr/lib/rpm/rpmrc didn't help, either.

Is there a way to force rpmbuild to use a certain target architecture, save 
the "--target=foo-bar-baz" switch?

Thanks,
	Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGlpI/fkUtd7QNU/sRAtDTAKCVEOEqF9eG7wBzA7qAgbzeIEgOYACgoDhN
7H0FOhT5Kx2tpBW2h/v2Yak=
=nLBQ
-----END PGP SIGNATURE-----
Received on Thu Jul 12 22:42:46 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.