![](https://seccdn.libravatar.org/avatar/7f15e26f6f6f56d85aa0ec0fc4e37c44.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Damian Mihai Liviu wrote:
Hi,
Hi Damian ...
The spec file is almost untouched (added BuildArch: i686, Packager: me and
Don't do that ! Never, ever write "BuildArch: i686" in the spec file That's something you pass as an option to rpmbuild: rpmbuild -ba --target=i686 ... The "BuildArch:" directive in the spec file has precedence over the --target parameter of rpmbuild (!!). This means that your spec file would always result in RPMs built for i686 (even if you build on x86_64 or ppc, never mind what --target= parameter you pass to rpmbuild). The only exception to that rule is when you write a spec file for a package where all the files are architecture-independent (e.g. most Perl or Python modules). In that case, you _must_ write this: BuildArch: noarch cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v FOSDEM 2006 -- 25+26 February 2006 in Brussels -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDcL9Jr3NMWliFcXcRAsnnAKC9ew/AjrVSa9fNrgYx11dxh2RvAgCfVd37 6hLliByf0i9tlq5DjF843H8= =ezcM -----END PGP SIGNATURE-----