Add repository spec.