From Bugzilla Helper: User-Agent: Mozilla/4.6 [en] (X11; U; SunOS 5.6 sun4u) Description of problem: When building an rpm with "rpm -ba --target=foo bar.spec" rpm returns an error "--target=foo: unknown option" If it is built with "rpm -ba --target foo bar.spec" it works as expected rpmbuild handles both of them properly How reproducible: Always Steps to Reproduce: 1. rpm -ba --target=sparc rpm.spec
If rpmbuild "works", then this is more breakage due to popt aliases, that can't/won't be fixed until the build modes are *completely* moved to the rpmbuild executable. This won't happen in rpm-4.0.3, but will happen as soon thereafter as I can manage.