|
|
ea51d14 |
# Generated by go2rpm
|
|
|
586a49a |
%ifnarch %{ix86} %{arm}
|
|
|
ea51d14 |
%bcond_without check
|
|
|
586a49a |
%endif
|
|
|
ea51d14 |
|
|
|
ea51d14 |
# https://github.com/uber-go/tally
|
|
|
ea51d14 |
%global goipath github.com/uber-go/tally
|
|
|
64bbef7 |
Version: 3.3.17
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%gometa
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%global common_description %{expand:
|
|
|
ea51d14 |
Tally provides a common interface for emitting metrics, while letting you not
|
|
|
ea51d14 |
worry about the velocity of metrics emission.
|
|
|
ea51d14 |
|
|
|
ea51d14 |
By default it buffers counters, gauges and histograms at a specified interval
|
|
|
ea51d14 |
but does not buffer timer values. This is primarily so timer values can have all
|
|
|
ea51d14 |
their values sampled if desired and if not they can be sampled as summaries or
|
|
|
ea51d14 |
histograms independently by a reporter.}
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%global golicenses LICENSE
|
|
|
ea51d14 |
%global godocs example README.md example
|
|
|
ea51d14 |
|
|
|
ea51d14 |
Name: %{goname}
|
|
|
64bbef7 |
Release: 1%{?dist}
|
|
|
ea51d14 |
Summary: Go metrics interface with fast buffered metrics and third party reporters
|
|
|
ea51d14 |
|
|
|
ea51d14 |
License: MIT
|
|
|
ea51d14 |
URL: %{gourl}
|
|
|
ea51d14 |
Source0: %{gosource}
|
|
|
ea51d14 |
|
|
|
ea51d14 |
BuildRequires: golang(github.com/cactus/go-statsd-client/statsd)
|
|
|
ea51d14 |
BuildRequires: golang(github.com/m3db/prometheus_client_golang/prometheus)
|
|
|
ea51d14 |
BuildRequires: golang(github.com/m3db/prometheus_client_golang/prometheus/promhttp)
|
|
|
64bbef7 |
BuildRequires: golang(github.com/pkg/errors)
|
|
|
ea51d14 |
BuildRequires: golang(go.uber.org/atomic)
|
|
|
ea51d14 |
BuildRequires: golang(gopkg.in/validator.v2)
|
|
|
ea51d14 |
BuildRequires: golang(gopkg.in/yaml.v2)
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%if %{with check}
|
|
|
ea51d14 |
# Tests
|
|
|
ea51d14 |
BuildRequires: golang(github.com/m3db/prometheus_client_model/go)
|
|
|
ea51d14 |
BuildRequires: golang(github.com/stretchr/testify/assert)
|
|
|
ea51d14 |
BuildRequires: golang(github.com/stretchr/testify/require)
|
|
|
ea51d14 |
%endif
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%description
|
|
|
ea51d14 |
%{common_description}
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%gopkg
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%prep
|
|
|
ea51d14 |
%goprep
|
|
|
64bbef7 |
rm -rf thirdparty
|
|
|
ea51d14 |
# https://github.com/uber-go/tally/issues/78
|
|
|
64bbef7 |
sed -i "s|github.com/m3db/prometheus_client_model/prometheus|github.com/m3db/prometheus_client_golang/prometheus|" $(find . -iname "*.go" -type f)
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%install
|
|
|
ea51d14 |
%gopkginstall
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%if %{with check}
|
|
|
ea51d14 |
%check
|
|
|
ea51d14 |
%gocheck -t m3 -t prometheus
|
|
|
ea51d14 |
%endif
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%gopkgfiles
|
|
|
ea51d14 |
|
|
|
ea51d14 |
%changelog
|
|
|
64bbef7 |
* Mon Aug 03 21:16:42 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.17-1
|
|
|
64bbef7 |
- Update to 3.3.17
|
|
|
64bbef7 |
|
|
|
ae5b746 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-4
|
|
|
ae5b746 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ae5b746 |
|
|
|
fcd8218 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-3
|
|
|
fcd8218 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fcd8218 |
|
|
|
6e982a6 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-2
|
|
|
6e982a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6e982a6 |
|
|
|
ea51d14 |
* Mon May 06 15:39:53 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.8-1
|
|
|
ea51d14 |
- Initial package
|