## 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 %bcond_without check # https://github.com/cenkalti/backoff %global goipath github.com/cenkalti/backoff Version: 4.1.2 %gometa %global goaltipaths github.com/cenkalti/backoff/v4 %global common_description %{expand: This is a Go port of the exponential backoff algorithm from Google's HTTP Client Library for Java. Exponential backoff is an algorithm that uses feedback to multiplicatively decrease the rate of some process, in order to gradually find an acceptable rate. The retries exponentially increase and stop increasing when a certain threshold is met.} %global golicenses LICENSE %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: %autorelease Summary: Exponential backoff algorithm in Go License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.lock Source2: glide.yaml %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 4.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 4.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 13 2021 Fabian Affolter 4.1.2-1 - Update to latest upstream release 4.1.2 (closes rhbz#2022852) * Thu Jul 22 2021 Fedora Release Engineering 4.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 02 2021 Robert-André Mauchin 4.1.1-1 - Update to 4.1.1 Close: rhbz#1965931 * Tue Jan 26 2021 Fedora Release Engineering 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 26 2020 Fabian Affolter 4.1.0-1 - * Thu Nov 26 2020 Fabian Affolter - 4.1.0-1 - Fix FTBFS (#1863642) - Update to latest upstream release 4.1.0 (#1886609) * Mon Jul 27 2020 Fedora Release Engineering 4.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 22 2020 Robert-André Mauchin 4.0.2-1 - Update to 4.0.2 * Tue Jan 28 2020 Fedora Release Engineering 3.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 14 2019 Robert-André Mauchin 3.0.0-1 - Release 3.0.0 * Sat Apr 06 2019 Robert-André Mauchin 2.1.1-1 - Release 2.1.1 (#1695282) * Thu Jan 31 2019 Fedora Release Engineering 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 13 2018 Robert-André Mauchin 2.0.0-1 - SPEC refresh * Tue Oct 23 2018 Nicolas Mailhot Packaging variables read or set by %forgemeta-9 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias * Fri Jul 13 2018 Fedora Release Engineering Packaging variables read or set by %forgemeta-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Jan Chaloupka Packaging variables read or set by %forgemeta-7 - Regen glide files * Mon Jun 25 2018 Robert-André Mauchin Packaging variables read or set by %forgemeta-6 - Update to v2.0.0 * Sat Jun 09 2018 Jan Chaloupka Packaging variables read or set by %forgemeta-5 - Upload missing glide files * Sat Jun 09 2018 Jan Chaloupka Packaging variables read or set by %forgemeta-4 - Upload glide.lock and glide.yaml * Wed Feb 28 2018 Jan Chaloupka - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 27 2017 Jan Chaloupka 1.1.0-1 - Update to v1.1.0 resolves: #1517147 * Wed Aug 02 2017 Fedora Release Engineering 0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering 0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering 0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering 0-7 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Peter Robinson 0-6 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Dennis Gilmore 0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 12 2015 Jan Chaloupka 0-4 - Update to spec-2.1 - related: #1248129 * Thu Jul 30 2015 Jan Chaloupka 0-3 - add -pav to cp * Wed Jul 29 2015 Jan Chaloupka 0-2 - Update of spec file to spec-2.0 - resolves: #1248129 * Sun Jun 21 2015 Jan Chaloupka 0-1 - First package for Fedora - resolves: #1214808