# Generated by go2rpm %bcond_without check # https://github.com/marusama/semaphore %global goipath github.com/marusama/semaphore Version: 2.4.1 %gometa %global goaltipaths github.com/marusama/semaphore/v2 %global common_description %{expand: Fast resizable golang semaphore based on CAS: - allows weighted acquire/release; - supports cancellation via context; - allows change semaphore limit after creation; - faster than channel based semaphores.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Fast resizable Golang semaphore License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check sed -i "s|github.com/marusama/semaphore/v2|github.com/marusama/semaphore|" $(find . -iname "*.go" -type f) %gocheck %endif %gopkgfiles %changelog * Wed Jul 29 18:53:21 CEST 2020 Robert-André Mauchin - 2.4.1-1 - Update to 2.4.1 * Mon Jul 27 2020 Fedora Release Engineering - 2.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 15 23:15:04 CEST 2019 Robert-André Mauchin - 2.3.0-1 - Initial package