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.
Either type rpmbuild ... --target=<target> or rpm -ba ... --target <target> The 1st command is what will persist in the future.