## START: Set by rpmautospec %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/aquarapid/vaultlib %global goipath github.com/aquarapid/vaultlib Version: 0.5.1 %gometa %global common_description %{expand: Lightweight Go client library for reading Vault kv secrets.} %global golicenses LICENSE %global godocs README.MD Name: %{goname} Release: %autorelease Summary: Lightweight Go client library for reading Vault kv secrets License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/hashicorp/go-cleanhttp) BuildRequires: golang(github.com/pkg/errors) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck -d . %endif %gopkgfiles %changelog * Thu Aug 05 2021 Robert-André Mauchin 0.5.1-2 - Uncommitted changes * Thu Aug 05 2021 Robert-André Mauchin 0.5.1-1 - Initial release