Red Hat Bugzilla – Bug 51178
Failure of --target tag in rpm-4.0.3
Last modified: 2008-05-01 11:38:00 EDT
Description of Problem:
The tags for rebuilding SRPMS don't always work. Specifically
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>
--target=<target>: unknown option
ex. --target=i686: unknown option
Build of binary and possibly srpms with the binary in the proper
architecture and optimization.
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.
rpmbuild ... --target=<target>
rpm -ba ... --target <target>
The 1st command is what will persist in the future.