Adding conditional for rpm on rhel6.