Rename generate_eq to generate_version_eq