rpm itself doesn't support transactions, but the Fedora package management does.
To set up an RPM transaction, you don't have to do much. All you need to do is pass more than one RPM package on the rpm command line.