Add support for generating a Red Hat source package.

This relates to #1469.