mxcl/homebrew — pull request #11188 by thughes (2012-03-24 19:57:39+00:00)
Title: Add recipe for rpm package manager

This is a squashed version of https://github.com/mxcl/homebrew/pull/8090, with one additional change:

ENV.append 'CFLAGS', "-O0"

Without that flag I was getting weird errors when running rpmbuild, such as "cpio: Bad magic".

Note that there are two forks of rpm: version 4 and version 5. They are not compatible and are maintained by separate people. version 4 (which this formula is for) seems to be more widely used (i.e., it's the one used by RedHat, CentOS, etc.).