## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %bcond_with check # https://github.com/piprate/json-gold %global goipath github.com/piprate/json-gold Version: 0.4.1 %gometa %global common_description %{expand: A JSON-LD processor for Go.} %global golicenses LICENSE %global godocs examples CONTRIBUTORS.md README.md CHANGELOG.md Name: %{goname} Release: %autorelease Summary: JSON-LD processor License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/pquerna/cachecontrol) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 22 2022 Fabian Affolter 0.4.1-1 - Update to latest upstream release 0.4.1 (closes rhbz#2034312) * Thu Jan 20 2022 Fedora Release Engineering 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Aug 25 2021 Fabian Affolter 0.4.0-1 - * Wed Aug 25 2021 Fabian Affolter - 0.4.0-1 - Update to latest upstream release 0.4.0 (rhbz#1963511) * Thu Jul 22 2021 Fedora Release Engineering 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 17 2020 Fabian Affolter 0.3.0-1 - * Tue Apr 07 2020 Fabian Affolter - 0.3.0-1 - Initial package