Blame golang-github-marusama-semaphore.spec

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