Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 51178 - Failure of --target tag in rpm-4.0.3
Failure of --target tag in rpm-4.0.3
Product: Red Hat Public Beta
Classification: Retired
Component: rpm (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2001-08-08 02:54 EDT by Alan Brady
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-08 02:54:15 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 Alan Brady 2001-08-08 02:54:11 EDT
Description of Problem:

The tags for rebuilding SRPMS don't always work. Specifically
--target=<target> fails.

How Reproducible:

Can reproduce 100% of the time.

Steps to Reproduce:

1. rpm --rebuild <srpms> --target=<target> 
2. rpm -ta <.gz or .bz2 file> --target=<target>
3. rpm -tb <.gz or .bz2 file> --target=<target>

Actual Results:

--target=<target>: unknown option
ex. --target=i686: unknown option

Expected Results:

Build of binary and possibly srpms with the binary in the proper
architecture and optimization.

Additional Information:

This seems to be a bug with rpm-4.0.3 since I had the same problem
previously when using the same version out of Rawhide. I can go back to the
version with 7.1 and everything works normally.
Comment 1 Jeff Johnson 2001-08-08 08:17:01 EDT
Either type
	rpmbuild ... --target=<target>
	rpm -ba ... --target <target>

The 1st command is what will persist in the future.

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