## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/goccy/go-json %global goipath github.com/goccy/go-json Version: 0.10.2 %gometa -f %global common_description %{expand: Fast JSON encoder/decoder compatible with encoding/json for Go.} %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Fast JSON encoder/decoder compatible with encoding/json for Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # https://github.com/goccy/go-json/issues/466 %ifarch s390x for test in "TestUnmarshalMarshal" \ "TestUnmarshalRescanLiteralMangledUnquote" \ "TestATestHTMLEscapective" \ "TestCompactBig" \ "TestIndentBig" \ "TestEncoderSetEscapeHTML" \ "TestHTMLEscape" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %endif %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 0.10.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.10.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 22 2023 Robert-André Mauchin - 0.10.2-2 - Disable some tetss * Mon Aug 21 2023 Robert-André Mauchin - 0.10.2-1 - Initial import * Mon Aug 21 2023 Tomas Hrcka - 0.9.4-5 - Unretirement request: https://pagure.io/releng/issue/11628 * 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 ## END: Generated by rpmautospec