fix RPM build process