Add support for rpm builds through mock