## 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 # Cyclic witth apex/log %bcond_without bootstrap # https://github.com/tj/go-elastic %global goipath github.com/tj/go-elastic %global commit 36157cbbebc210c55c1c8a82c8655ccbb9f41aa0 %gometa %global common_description %{expand: Little (incomplete) Elasticsearch client with AWS sigv4 support.} %global golicenses LICENSE %global godocs Readme.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Little (incomplete) Elasticsearch client with AWS sigv4 support License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/smartystreets/go-aws-auth) %if %{without bootstrap} %if %{with check} # Tests BuildRequires: golang(github.com/apex/log) BuildRequires: golang(github.com/apex/log/handlers/logfmt) BuildRequires: golang(github.com/stretchr/testify/assert) %endif %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog * Sat Aug 07 2021 Robert-André Mauchin 0-0.2 - Uncommitted changes * Sat Aug 07 2021 Robert-André Mauchin 0-0.1 - Initial release