Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/paulbellamy/ratecounter
%global goipath         github.com/paulbellamy/ratecounter
Version:                0.2.0

%gometa

%global common_description %{expand:
Package Ratecounter provides a thread-safe rate-counter, for tracking counts in
an interval.}

%global golicenses      LICENSE
%global godocs          CONTRIBUTORS.md README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Thread-safe ratecounter implementation in Go

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

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Mon Apr 29 14:27:25 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.2.0-1
- Initial package