# Generated by go2rpm %bcond_without check # https://github.com/yvasiyarov/go-metrics %global goipath github.com/yvasiyarov/go-metrics %global commit c25f46c4b94079672242ec48a545e7ca9ebe3aec %gometa %global common_description %{expand: Go port of Coda Hale's Metrics library.} %global golicenses LICENSE %global godocs README.md memory.md Name: %{goname} Version: 0 Release: 0.9%{?dist} Summary: Go port of Coda Hale's Metrics library License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/influxdata/influxdb1-client/v2) BuildRequires: golang(github.com/rcrowley/go-metrics) BuildRequires: golang(github.com/stathat/go) %description %{common_description} %gopkg %prep %goprep find . -name "*.go" -exec sed -i "s|github.com/influxdb/influxdb/client|github.com/influxdata/influxdb1-client/v2|" "{}" +; %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu May 02 00:59:07 CEST 2019 Robert-André Mauchin - 0-0.9.20190502gitc25f46c - Bump to commit c25f46c4b94079672242ec48a545e7ca9ebe3aec * Fri Feb 01 2019 Fedora Release Engineering - 0-0.8.git57bccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.7.git57bccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.6.git57bccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.5.git57bccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.4.git57bccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.3.git57bccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.2.git57bccd1 - https://fedoraproject.org/wiki/Changes/golang1.7 * Fri Mar 04 2016 jchaloup - 0-0.1.git57bccd1 - First package for Fedora resolves: #1314977