Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/remeh/sizedwaitgroup
%global goipath         github.com/remeh/sizedwaitgroup
%global commit          5e7302b12ccef91dce9fde2f5bda6d5c7ea5d2eb

%gometa

%global common_description %{expand:
SizedWaitGroup has the same role and API as sync.WaitGroup but it adds a limit
of the amount of goroutines started concurrently.

SizedWaitGroup adds the feature of limiting the maximum number of concurrently
started routines. It could for example be used to start multiples routines
querying a database but without sending too much queries in order to not
overload the given database.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.4%{?dist}
Summary:        Golang WaitGroup with throttling

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

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu May 30 16:59:25 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20190530git5e7302b
- Bump to commit 5e7302b12ccef91dce9fde2f5bda6d5c7ea5d2eb

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git5582a67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.git5582a67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Wed Feb 28 2018 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 0-0.1.git5582a67
- Initial packaging