initial RPM support - needs to suck less before submitting merge request