rpm scripts fix