# Generated by go2rpm
%bcond_without check
# https://github.com/marusama/semaphore
%global goipath github.com/marusama/semaphore
Version: 2.3.0
%global tag 2.3.0
%gometa
%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: 3%{?dist}
Summary: Fast resizable Golang semaphore
License: MIT
URL: %{gourl}
Source0: %{gosource}
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 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 <zebob.m@gmail.com> - 2.3.0-1
- Initial package