There appears to be no way to get rpm to tell you what version it is,
# rpm -q -a | grep rpm rpm-4.0.3-1.03 # rpm -q -i rpm-4.0.3-1.03