-----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/
/\\