## START: Set by rpmautospec %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/tonistiigi/go-actions-cache %global goipath github.com/tonistiigi/go-actions-cache %global commit b93d7f1b2e70a62e1b77f6dae362fe994ff862eb %gometa %global common_description %{expand: Github Actions Cache service API.} %global godocs api.md # %%global golicenses LICENSE Name: %{goname} Version: 0 Release: %autorelease -p Summary: Github Actions Cache service API License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/dgrijalva/jwt-go) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(golang.org/x/sync/errgroup) %if %{with check} # Tests BuildRequires: golang(github.com/moby/buildkit/identity) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Aug 03 2021 Robert-André Mauchin 0-0.1 - Initial release