Minimum changes required to run on Debian distributions

It looks like the createrepo command on Ubuntu 12.04 does not have the --checksum or --changelog-limit options.

...and that's about it.