If you want to know what are the contents of a rpm package on yum repository before installing it, you can use
repoquery command to achieve that.
repoquery command is provided by
yum-utils package, so it must be installed first.
1 yum install yum-utils
Now you can use
repoquery to query the content from yum repository.
1 repoquery -l packageName