diff --git a/golang-github-koofr-koofrclient.spec b/golang-github-koofr-koofrclient.spec index dae6d0d..fc0dc43 100644 --- a/golang-github-koofr-koofrclient.spec +++ b/golang-github-koofr-koofrclient.spec @@ -1,67 +1,50 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check # https://github.com/koofr/go-koofrclient %global goipath github.com/koofr/go-koofrclient %global commit 7f327592caff2f24d64635e29bf560db6a2e4db5 +%gometa + %global common_description %{expand: Go Koofr client.} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} Version: 0 -Release: 0.1%{?dist} +Release: 0.2%{?dist} Summary: Go Koofr client -# Detected licences -# - Expat License at 'LICENSE' + License: MIT URL: %{gourl} Source0: %{gosource} -BuildRequires: golang(github.com/koofr/go-httpclient) -%if %{with check} -BuildRequires: golang(github.com/onsi/ginkgo) -BuildRequires: golang(github.com/onsi/gomega) -%endif +BuildRequires: golang(github.com/koofr/go-httpclient) %description %{common_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{common_description} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - +%gopkgfiles %changelog +* Mon Jun 03 22:59:29 CEST 2019 Robert-André Mauchin - 0-0.2.20190325git7f32759 +- Update to new macros + * Fri Mar 08 2019 Robert-André Mauchin - 0-0.1.20190325git7f32759 - First package for Fedora -