Correcting spec file and YAML file