The rpm -q -l can be used to get the list of files installed by an installed RPM. The following example finds the files installed by bash RPM.

[neo@techpulp ~]# rpm -aq | grep bash
bash-3.2-18.fc8
[neo@techpulp ~]# rpm -q -l bash-3.2-18.fc8
/bin/bash
/bin/sh
/etc/skel/.bash_logout
/etc/skel/.bash_profile
/etc/skel/.bashrc
/usr/bin/bashbug-32
/usr/share/doc/bash-3.2
/usr/share/doc/bash-3.2/CHANGES
....
/usr/share/man/man1/unset.1.gz
/usr/share/man/man1/wait.1.gz
[neo@techpulp ~]#