You can tell Yum to prefer packages that match the machine architecture if more than one is available. Set the following in yum.conf:
multilib_policy=best
This replaces the previous yum-basearchonly plugin as core functionality. It is the default behaviour in Fedora 9 and RHEL 6 onwards.
viayum claims python isn’t installed – Server Fault.