The man page, and documentation show that rpm -ba --buildarch i686 should
work, however buildarch always comes back with --buildarch Unknown
option. After doing an RPM --help, --buildarch is no longer listed.
Which is wrong the man page or RPM? I can't buid an i686 kernel to fix a
bug in the 2.2.16 kernel without this option, unless there is some other
The option --buildarch has been replaced. Use "--target=i686" instead (also
fixed in man page).
The book Max-RPM on http://www.rpm.org still lists the old --buildarch
option to rpmbuild.
Why not mark the old option deprecated in the documentation, but make
it still work in some verions of rpm through e.g. 3 years?
I've still hit this on RHEL 3, because all the Googlable documentation
on the web still lists the --buildarch option.