[packaging] fix rpm packaging