Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/uber-go/ratelimit
%global goipath         go.uber.org/ratelimit
%global forgeurl        https://github.com/uber-go/ratelimit
%global commit          c15da02342779cb6dc027fc95ee2277787698f36

%gometa

%global common_description %{expand:
This package provides a Golang implementation of the leaky-bucket rate limit
algorithm. This implementation refills the bucket based on the time elapsed
between requests instead of requiring an interval clock to fill the bucket
discretely.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.2%{?dist}
Summary:        Golang blocking leaky-bucket rate limit implementation

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri May 03 01:31:50 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190627gitc15da02
- Initial package