On 64-bit platforms you need to see whether the 32-bit and/or 64-bit versions are present and rpm doesn't tell you unless you specifically ask. This may be similar. Try adding this to your rpm query:
Code:
--queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n"