Extracting the content of an rpm without installing it
To extract it in the current directory :
$ rpm2cpio file.rpm | cpio -idv
Comparing rpm versions
When wondering which rpm version number is higher.
Install the package poldek, and use the command rpmvercmp.
Or install the package ruby-rpm, and use the command rpmvercmp.rb.