diff --git a/golang-github-namedotcom.spec b/golang-github-namedotcom.spec index 12d00b2..3d2ab36 100644 --- a/golang-github-namedotcom.spec +++ b/golang-github-namedotcom.spec @@ -1,50 +1,51 @@ -%global goipath github.com/namedotcom/go -%global commit 08470befbe04613bd4b44cb6978b05d50294c4d4 +# Generated by go2rpm +%bcond_without check + +# https://github.com/namedotcom/go +%global goipath github.com/namedotcom/go +%global commit 08470befbe04613bd4b44cb6978b05d50294c4d4 + %gometa +%global common_description %{expand: +Package Namecom provides a client for accessing the Name.com v4 API.} + +%global golicenses LICENSE +%global godocs README.md + Name: %{goname} Version: 0 -Release: 0.2%{?dist} -Summary: Name.com API Go client +Release: 0.3%{?dist} +Summary: Name.com API Go Client + License: MIT URL: %{gourl} Source0: %{gosource} +BuildRequires: golang(github.com/pkg/errors) %description -%{summary}. - - -%package devel -Summary: %{summary} -BuildArch: noarch - - -%description devel -%{summary}. - -This package contains the source code needed for building packages that import -the %{goipath} Go namespace. +%{common_description} +%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 +* Thu May 02 22:47:23 CEST 2019 Robert-André Mauchin - 0-0.3.20181203git08470be +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering - 0-0.2.git08470be - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild