# Generated by go2rpm 1.2 %bcond_without check # https://github.com/avast/retry-go %global goipath github.com/avast/retry-go Version: 3.0.0 %gometa %global common_description %{expand: Simple golang library for retry mechanism.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: 1%{?dist} Summary: Simple golang library for retry mechanism License: MIT URL: %{gourl} # the macro {gosource} adds a trailing 'v' to the version number # while the pkg version we want doesn't have it. Source0: %{gourl}/archive/%{version}.tar.gz %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 14 2021 Bruno Meneguele - 3.0.0-1 - Rebase to upstream release 3.0.0 * Wed Oct 07 13:25:54 CEST 2020 Patrick Talbert - 1.0.1-1 - Initial package