## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/tj/go-kinesis %global goipath github.com/tj/go-kinesis %global commit 08b17f58cb1b2ace14a61c0619a6bf2e2245ccd6 %gometa %global common_description %{expand: Batch producer for AWS Kinesis built on the official Go SDK.} %global golicenses LICENSE %global godocs _example Readme.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Batch producer for AWS Kinesis built on the official Go SDK License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/apex/log) 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/aws/aws-sdk-go/service/kinesis/kinesisiface) BuildRequires: golang(github.com/jpillora/backoff) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Aug 07 2021 Robert-André Mauchin 0-0.1 - Initial release