fix initial build of rpm