Replace '-' in git version to '.' to pet rpm.