diff --git a/golang-github-decker502-dnspod.spec b/golang-github-decker502-dnspod.spec index 140bb0d..8ab77c0 100644 --- a/golang-github-decker502-dnspod.spec +++ b/golang-github-decker502-dnspod.spec @@ -1,53 +1,47 @@ -%global goipath github.com/decker502/dnspod-go -Version: 0.2.0 +# Generated by go2rpm +%bcond_without check + +# https://github.com/decker502/dnspod-go +%global goipath github.com/decker502/dnspod-go +Version: 0.2.0 + %gometa %global common_description %{expand: This library is a Go client you can use to interact with the DNSPod API.} +%global golicenses LICENSE +%global godocs README.md + Name: %{goname} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Go client for the DNSPod API + License: MIT URL: %{gourl} Source0: %{gosource} -#BuildRequires: golang(github.com/foo/bar) - - %description %{common_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - - -%description devel -%{common_description} - -This package contains the source code needed for building packages that import -the %{goipath} Go namespace. - +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%license LICENSE -%doc README.md +%gocheck +%endif +%gopkgfiles %changelog +* Wed Jun 05 00:48:06 CEST 2019 Robert-André Mauchin - 0.2.0-2 +- Update to new macros + * Wed Apr 17 2019 Carl George - 0.2.0-1 - Initial package