fix rpm config