[RPM] mock enhancements