change the right repo name
set osvers differently for fedora and rhel