Split out the rpm-specific parts as a seporate file

This will allow us to add other package formats later.