# Generated by go2rpm 1.8.2 %bcond_without check %bcond_without bootstrap # https://github.com/kubernetes-sigs/yaml %global goipath sigs.k8s.io/yaml %global forgeurl https://github.com/kubernetes-sigs/yaml Version: 1.3.0 %gometa %global common_description %{expand: A wrapper around go-yaml designed to enable a better way of handling YAML when marshaling to and from structs. In short, this library first converts YAML to JSON using go-yaml and then uses json.Marshal and json.Unmarshal to convert to or from the struct. This means that it effectively reuses the JSON struct tags as well as the custom JSON methods MarshalJSON and UnmarshalJSON unlike go-yaml.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md RELEASE.md code-of-\\\ conduct.md Name: %{goname} Release: %autorelease Summary: Marshal and unmarshal YAML in Go License: MIT and BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog %autochangelog