# Generated by go2rpm 1 %bcond_without check # https://github.com/cyberdelia/go-metrics-graphite %global goipath github.com/cyberdelia/go-metrics-graphite %global commit 39f87cc3b432bbb898d7c643c0e93cac2bc865ad %gometa %global common_description %{expand: This is a reporter for the go-metrics library which will post the metrics to Graphite. It was originally part of the go-metrics library itself, but has been split off to make maintenance of both the core library and the client easier.} %global golicenses LICENSE %global godocs AUTHORS README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Graphite client for the go-metrics # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/rcrowley/go-metrics) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # Tests require a dummy server to start on and Copr doesn't allow that # graphite_test.go:48: dummy server error: accept tcp 127.0.0.1:39607: use of closed network connection %gocheck -d . %endif %gopkgfiles %changelog * Sat Feb 01 18:42:13 CST 2020 Joe Doss - 0-0.1.20200201git39f87cc - Initial package