View RPM's by architecture

#r pm -qa –queryformat “%{NAME}-%{VERSION}-%{ARCH} n” | grep expat

# rpm -qa –queryformat “%{NAME}-%{VERSION}-%{ARCH} n” | grep expat
expat-1.95.7-x86_64
expat-1.95.7-i386