Blame golang-github-cockroachdb-circuitbreaker.spec

3b926e4
# Generated by go2rpm
3b926e4
%bcond_without check
3b926e4
3b926e4
# https://github.com/cockroachdb/circuitbreaker
3b926e4
%global goipath         github.com/cockroachdb/circuitbreaker
3b926e4
Version:                2.2.1
3b926e4
%global commit          a614b14ccf63dd2311d4ff646c30c61b8ed34aa8
3b926e4
3b926e4
%gometa
3b926e4
3b926e4
%global common_description %{expand:
3b926e4
Circuitbreaker provides an easy way to use the Circuit Breaker pattern in a Go
3b926e4
program.}
3b926e4
3b926e4
%global golicenses      LICENSE
3b926e4
%global godocs          CHANGELOG.md README.md
3b926e4
3b926e4
Name:           %{goname}
ea9f005
Release:        4%{?dist}
3b926e4
Summary:        Circuit Breakers in Go
3b926e4
3b926e4
License:        MIT
3b926e4
URL:            %{gourl}
3b926e4
Source0:        %{gosource}
3b926e4
3b926e4
BuildRequires:  golang(github.com/cenkalti/backoff)
3b926e4
BuildRequires:  golang(github.com/facebookgo/clock)
3b926e4
3b926e4
%if %{with check}
3b926e4
# Tests
3b926e4
BuildRequires:  golang(github.com/peterbourgon/g2s)
3b926e4
%endif
3b926e4
3b926e4
%description
3b926e4
%{common_description}
3b926e4
3b926e4
%gopkg
3b926e4
3b926e4
%prep
3b926e4
%goprep
3b926e4
find . -name "*.go" -exec sed -i "s|github.com/cenk/backoff|github.com/cenkalti/backoff|" "{}" +;
3b926e4
3b926e4
%install
3b926e4
%gopkginstall
3b926e4
3b926e4
%if %{with check}
3b926e4
%check
3b926e4
%gocheck
3b926e4
%endif
3b926e4
3b926e4
%gopkgfiles
3b926e4
3b926e4
%changelog
ea9f005
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
ea9f005
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ea9f005
adb7bee
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
adb7bee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
adb7bee
8c6f050
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
8c6f050
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8c6f050
3b926e4
* Wed May 15 19:49:12 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2.1-1.20190701gita614b14
3b926e4
- Initial package