refine purpose of rpm build script