refine rpm packaging