Have to do it in query mode.

rpm -ql nameof.rpm