## START: Set by rpmautospec %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/infobloxopen/infoblox-go-client %global goipath github.com/infobloxopen/infoblox-go-client Version: 2.0.0 %gometa %global common_description %{expand: Infoblox NIOS WAPI Go Client library.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Infoblox NIOS WAPI Go Client library # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(golang.org/x/net/publicsuffix) %if %{with check} # Tests BuildRequires: golang(github.com/onsi/ginkgo) BuildRequires: golang(github.com/onsi/gomega) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Jul 31 2021 Robert-André Mauchin 2.0.0-1 - Initial release