One of the ideas that came out of packaging rubygem dependencies for sup and sup itself, was a need of a script that would cat a specific file from an rpm. Since rpmls exists, the next logical step would be a rpmcat.
Rahul told me to go ahead and write it down. He also gave me a few pointers.
Here it is.
Copy it to your /usr/bin/ and do a chmod +x
$ rpmcat <RPM> <full-file-path>
(get the full-file-path from rpmls)
Don't try random stuff. It will break! :-P