automating rpm buld