Bug 51062 - --target=... is unknown argument
Summary: --target=... is unknown argument
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-06 23:11 UTC by Nathan Owen
Modified: 2007-04-18 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-08-06 23:11:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Nathan Owen 2001-08-06 23:11:49 UTC
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

Comment 1 Jeff Johnson 2001-08-06 23:17:37 UTC
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.