graphite-project/carbon — pull request #4 by bmhatfield (2012-05-18 18:30:41+00:00)
Title: Enable BDIST_RPM to work right with setup.py

I've made some modifications to Graphite to enable bdist_rpm to work with setup.py, outputting a valid RPM that installs and works on Red Hat distros.

I've made a number of tweaks that allow this to work on first install, with no reconfiguration required (like a good RPM should!).

Notably, I updated the manifest, added a postinstall script and a pair of init scripts, made updates to the setup.cfg to support bdist_rpm, and some tweaks to setup.py. Unfortunately, the version string fix ('-' to '_' is critical, as the RPM will not build with it the other way.)