diff --git a/golang-github-rican7-retry.spec b/golang-github-rican7-retry.spec index fa63376..9108dc8 100644 --- a/golang-github-rican7-retry.spec +++ b/golang-github-rican7-retry.spec @@ -1,22 +1,24 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check # https://github.com/Rican7/retry %global goipath github.com/Rican7/retry +Version: 0.1.0 %global commit 272ad122d6e5ce1be757544007cf8bcd1c9c9ab0 +%gometa + %global common_description %{expand: -A simple, stateless, functional mechanism to perform actions repetitively -until successful.} +A simple, stateless, functional mechanism to perform actions repetitively until +successful.} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} -Version: 0.1.0 -Release: 1%{?dist} -Summary: A simple, stateless, functional mechanism to perform actions repetitively -# Detected licences -# - Expat License at 'LICENSE' +Release: 2%{?dist} +Summary: Simple, stateless, functional mechanism to perform actions repetitively + License: MIT URL: %{gourl} Source0: %{gosource} @@ -24,39 +26,24 @@ Source0: %{gosource} %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 +* Fri May 17 20:25:15 CEST 2019 Robert-André Mauchin - 0.1.0-2.20190306git272ad12 +- Update to new macros + * Mon Oct 29 2018 Robert-André Mauchin - 0.1.0-1.20190306git272ad12 - First package for Fedora -