If you want to know what files a rpm package copied to your system, you can find it out executing the following command:
rpm -ql foo
If you want to know what files a rpm package copied to your system, you can find it out executing the following command:
rpm -ql foo