# Generated by go2rpm # Needs network %bcond_with check # https://github.com/hudl/fargo %global goipath github.com/hudl/fargo Version: 1.3.1 %global tag 1.3.1 %global commit fce5cf495554be9ef0766f6f5459e2874fb08c89 %gometa %global common_description %{expand: Golang client for Netflix Eureka.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Golang client for Netflix Eureka License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cenkalti/backoff) BuildRequires: golang(github.com/clbanning/x2j) BuildRequires: golang(github.com/franela/goreq) BuildRequires: golang(github.com/miekg/dns) BuildRequires: golang(github.com/op/go-logging) BuildRequires: golang(gopkg.in/gcfg.v1) %if %{with check} # Tests BuildRequires: golang(github.com/smartystreets/goconvey/convey) %endif %description %{common_description} %gopkg %prep %goprep sed -e '0,/^# MIT LICENSE/d' README.md > LICENSE %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Apr 22 22:48:02 CEST 2019 Robert-André Mauchin - 1.3.1-1.20190422gitfce5cf4 - Initial package