RPM: adding support for rpm generation. The src.rpm is OK for mock-build