## 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 %bcond_without bootstrap # https://github.com/apex/log %global goipath github.com/apex/log Version: 1.9.0 %gometa %global goipaths0 github.com/apex/log %global goipathsex0 github.com/apex/log/handlers/kinesis %if %{without bootstrap} %global goipaths1 github.com/apex/log/handlers/kinesis %endif %global common_description %{expand: Structured logging package for Go.} %global golicenses LICENSE %global godocs _examples History.md Readme.md Name: %{goname} Release: %autorelease Summary: Structured logging package for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/aphistic/golf) BuildRequires: golang(github.com/aws/aws-sdk-go/aws) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session) BuildRequires: golang(github.com/aws/aws-sdk-go/service/kinesis) BuildRequires: golang(github.com/aybabtme/rgbterm) BuildRequires: golang(github.com/fatih/color) BuildRequires: golang(github.com/go-logfmt/logfmt) BuildRequires: golang(github.com/mattn/go-colorable) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/rogpeppe/fastuuid) BuildRequires: golang(github.com/tj/go-buffer) BuildRequires: golang(github.com/tj/go-elastic/batch) %if %{without bootstrap} BuildRequires: golang(github.com/tj/go-kinesis) %endif BuildRequires: golang(github.com/tj/go-spin) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %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 1.9.0-2 - Uncommitted changes * Sat Aug 07 2021 Robert-André Mauchin 1.9.0-1 - Initial release