# Generated by go2rpm %bcond_without check # https://github.com/afex/hystrix-go %global goipath github.com/afex/hystrix-go %global commit fa1af6a1f4f56e0e50d427fe901cd604d8c6fb8a %gometa %global common_description %{expand: Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.} %global golicenses LICENSE %global godocs README.md loadtest/README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Netflix's hystrix latency and fault tolerance library, for go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cactus/go-statsd-client/statsd) BuildRequires: golang(github.com/DataDog/datadog-go/statsd) BuildRequires: golang(github.com/rcrowley/go-metrics) %if %{with check} # Tests BuildRequires: golang(github.com/smartystreets/goconvey/convey) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Apr 18 18:57:23 CEST 2019 Robert-André Mauchin - 0-0.1.20190418gitfa1af6a - Initial package