Blob Blame History Raw
# Generated by go2rpm 1.5.0
# https://github.com/vultr/govultr/issues/147
%ifnarch %{arm32} %{ix86}
%bcond_without check
%endif

# https://github.com/vultr/govultr
%global goipath         github.com/vultr/govultr/v2
%global forgeurl        https://github.com/vultr/govultr
Version:                2.12.0

%gometa

%global common_description %{expand:
Vultr Go API client.}

%global golicenses      LICENSE
%global godocs          CHANGELOG.md CONTRIBUTING.md README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Vultr Go API client

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/google/go-querystring/query)
BuildRequires:  golang(github.com/hashicorp/go-retryablehttp)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog