rpm build logic working