That's my sole question: How to find the architecture of an installed RPM, like, for example, glibc?????
How do I know if someone has installed the .i386 or the .i686 package?
It's not the most obvious thing to discover, but the following will work:
rpm -q --qf '%{ARCH}\n' glibc