move repository spec to the right place.