-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jul 12, 2007, at 4:42 PM, Eric MSP Veith wrote:
> -----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?
>
You can add an explicit --rcfile. It's a one line change to have that
happen
as traditionally.
Note that rpmrc is gone in rpm-5.0.
Is it really that difficult to add --target CPU-VENDOR-OS?
73 de Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFGlpU3uHNkGyA5spERAsQ3AJ9qN2AlUxo/WQUUBELmRpZyC1v/NQCeLcSv
kuFlo6Z9SvHkogsjyj2KthM=
=TmZy
-----END PGP SIGNATURE-----
Received on Thu Jul 12 22:55:27 2007