# Generated by go2rpm %bcond_without check # https://github.com/franela/goreq %global goipath github.com/franela/goreq %global commit bcd34c9993f899273c74baaa95e15386cd97b6e7 %gometa %global common_description %{expand: Minimal and simple request library for Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Minimal and simple request library for Go License: MIT URL: %{gourl} Source0: %{gosource} # Fix tests, not upsteamed because dead upstream Patch0: 0001-Import-github.com-franela-goblin-as-goblin.patch %if %{with check} # Tests BuildRequires: golang(github.com/franela/goblin) BuildRequires: golang(github.com/onsi/gomega) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Apr 22 23:36:14 CEST 2019 Robert-André Mauchin - 0-0.1.20190422gitbcd34c9 - Initial package