Description of problem: armv7hl and armv7hnl %optflags have -mthumb, this is not correct for those build targets. Note that armv7l does not have -mthumb. See: /usr/lib/rpm/platform/armv7hl-linux/macros /usr/lib/rpm/platform/armv7hnl-linux/macros
I've essentially zero clue about the arm-stuff. Perhaps Dennis (CC'd) who added the arm-patches can offer some insight why the flags are the way they are.
redhat-rpm-config was not installed so you get -mthumb
Right... but then the config on rpm-side needs fixing, at least in rawhide. The config in rpm itself might not be fully optimized but it must not be incorrect.
Fixed in rawhide and f18 update, f17 needs an update anyway one of these days so might as well fix this at the same time there too.
rpm-4.9.1.3-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/rpm-4.9.1.3-8.fc17
Package rpm-4.9.1.3-8.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpm-4.9.1.3-8.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-4488/rpm-4.9.1.3-8.fc17 then log in and leave karma (feedback).
rpm-4.9.1.3-8.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.