## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 1 # Fails randomly, maybe race condition %bcond_with check # https://github.com/panjf2000/ants %global goipath github.com/panjf2000/ants Version: 2.5.0 %gometa %global common_description %{expand: ants implements a goroutine pool with fixed capacity, managing and recycling a massive number of goroutines, allowing developers to limit the number of goroutines in your concurrent programs.} %global golicenses LICENSE %global godocs examples CONTRIBUTING.md CODE_OF_CONDUCT.md README.md\\\ README_ZH.md Name: %{goname} Release: %autorelease Summary: Goroutine pool in Go License: MIT URL: %{gourl} Source0: %{gosource} %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 * Fri Aug 19 2022 Fabian Affolter 2.5.0-1 - Update to latest upstream release 2.5.0 (closes rhbz#2082876) * Thu Jul 21 2022 Fedora Release Engineering 2.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Feb 23 2022 Fabian Affolter 2.4.8-1 - Update to latest upstream release 2.4.8 (closes rhbz#2057076) * Thu Jan 20 2022 Fedora Release Engineering 2.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 04 2021 Fabian Affolter 2.4.7-1 - Update to latest upstream release 2.4.7 (closes rhbz#2028656) * Wed Aug 25 2021 Fabian Affolter 2.4.6-1 - * Wed Aug 25 2021 Fabian Affolter - 2.4.6-1 - Update to latest upstream release 2.4.6 (rhbz#1963520) * Thu Jul 22 2021 Fedora Release Engineering 2.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering 2.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 19 2021 Robert-André Mauchin 2.4.1-3 - Update to 2.4.1 * Thu Jul 30 2020 Robert-André Mauchin 2.4.1-2 - Disable tests * Thu Jul 30 2020 Robert-André Mauchin 2.4.1-1 - Update to 2.4.1 * Mon Jul 27 2020 Fedora Release Engineering 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jun 27 2020 Fabian Affolter 2.4.0-1 - * Sun May 24 2020 Fabian Affolter - 2.4.0-1 - Initial package