Fix rpm deps and scripts