# Generated by go2rpm %bcond_without check # https://github.com/kubernetes-sigs/yaml %global goipath sigs.k8s.io/yaml %global forgeurl https://github.com/kubernetes-sigs/yaml Version: 1.1.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: 1%{?dist} Summary: Marshal and unmarshal YAML in Go License: # FIXME URL: %{gourl} Source0: %{gosource} BuildRequires: golang(gopkg.in/yaml.v2) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 10 14:28:47 CEST 2019 Robert-André Mauchin - 1.1.0-1 - Initial package