rpm -ql -p foo.rpm
-p / --package says look in foo.rpm rather than what's installed.
Works for things like -qi as well.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U