## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/flowstack/go-jsonschema %global goipath github.com/flowstack/go-jsonschema Version: 0.1.2 # REMOVE BEFORE SUBMITTING THIS FOR REVIEW # --- # New Fedora packages should use %%gometa -f, which makes the package # ExclusiveArch to %%golang_arches_future and thus excludes the package from # %%ix86. If the new package is needed as a dependency for another package, # please consider removing that package from %%ix86 in the same way, instead of # building more go packages for i686. If your package is not a leaf package, # you'll need to coordinate the removal of the package's dependents first. # --- # REMOVE BEFORE SUBMITTING THIS FOR REVIEW %gometa -f %global common_description %{expand: Go JSON Schema parser and validator.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go JSON Schema parser and validator License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/buger/jsonparser) BuildRequires: golang(golang.org/x/net/idna) %if %{with check} # Tests BuildRequires: golang(github.com/xeipuuv/gojsonschema) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Apr 26 2023 John Doe - 0.1.2-1 - Uncommitted changes