List rpm's inside baseline

(imported topic written by Paweł Pyrek)

Hi,

I want to create a report that will list all rpm’s that could be installed by deploying a baseline. I’ve created a test baseline with one component group and some patches for RHEL 6 systems. Now I would like to collect a list of rpm’s that could be installed if all components were applicable. Is it doable? How can I retrieve information about each component from a baseline inside custom report? I know that there is some data inside Description that lists rpm’s, but any ideas how to retrieve it and/or filter to create just the list of rpm’s?