# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/flowstack/go-jsonschema %global goipath github.com/flowstack/go-jsonschema %global forgeurl https://github.com/flowstack/go-jsonschema Version: 0.1.2 %gometa %global common_description %{expand: Go JSON Schema parser and validator.} %global golicenses LICENSE %global godocs README.md %global gosupfiles ${json[@]} Name: %{goname} Release: %autorelease Summary: Go JSON Schema parser and validator License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install mapfile -t json <<< $(find . -name "*.json" -type f) %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog