Blob Blame Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/dnsimple/dnsimple-go
%global goipath         github.com/dnsimple/dnsimple-go
Version:                0.23.0

%gometa

%global common_description %{expand:
This library is a Go client you can use to interact with the DNSimple API v2.}

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

Name:           %{goname}
Release:        3%{?dist}
Summary:        Go client for the DNSimple API v2

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

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

%if %{with check}
# Tests
BuildRequires:  golang(golang.org/x/oauth2)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Wed Jun 05 00:32:16 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.23.0-2
- Update to new macros

* Wed Apr 17 2019 Carl George <carl@george.computer> - 0.23.0-1
- Initial package