## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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.6.0 %bcond_with check # https://github.com/goccy/go-json %global goipath github.com/goccy/go-json Version: 0.9.4 %gometa %global common_description %{expand: Fast JSON encoder/decoder compatible with encoding/json for Go.} %global golicenses LICENSE %global godocs README.md CHANGELOG.md Name: %{goname} Release: %autorelease Summary: Fast JSON encoder/decoder compatible with encoding/json for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/francoispqt/gojay) BuildRequires: golang(github.com/mailru/easyjson) BuildRequires: golang(github.com/mailru/easyjson/jlexer) BuildRequires: golang(github.com/mailru/easyjson/jwriter) BuildRequires: golang(github.com/pquerna/ffjson/fflib/v1) %if %{with check} # Tests BuildRequires: golang(github.com/json-iterator/go) BuildRequires: golang(github.com/pquerna/ffjson/ffjson) BuildRequires: golang(github.com/segmentio/encoding/json) BuildRequires: golang(github.com/valyala/fastjson) BuildRequires: golang(github.com/wI2L/jettison) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 0.9.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Aug 10 2022 Maxwell G 0.9.4-3 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 0.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Feb 09 2022 Robert-André Mauchin 0.9.4-1 - Initial import