Bug 51062 - --target=... is unknown argument
--target=... is unknown argument
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-08-06 19:11 EDT by Nathan Owen
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-06 19:11:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nathan Owen 2001-08-06 19:11:49 EDT
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:

Steps to Reproduce:
1. rpm -ba --target=sparc rpm.spec
Comment 1 Jeff Johnson 2001-08-06 19:17:37 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.