diff --git a/golang-github-jedisct1-clocksmith.spec b/golang-github-jedisct1-clocksmith.spec index c4a4c04..8695f53 100644 --- a/golang-github-jedisct1-clocksmith.spec +++ b/golang-github-jedisct1-clocksmith.spec @@ -1,19 +1,24 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check +# https://github.com/jedisct1/go-clocksmith %global goipath github.com/jedisct1/go-clocksmith %global commit c35da9bed550558a4797c74e34957071214342e7 +%gometa + %global common_description %{expand: -A sleep-aware sleep() function, that doesn't pause (for too long) if the -system goes to hibernation.} +A sleep-aware sleep() function, that doesn't pause (for too long) if the system +goes to hibernation.} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} Version: 0 -Release: 0.3%{?dist} -Summary: A sleep-aware-sleep() function +Release: 0.1%{?dist} +Summary: Sleep-aware-sleep() function in Go + License: MIT URL: %{gourl} Source0: %{gosource} @@ -21,39 +26,25 @@ 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 +* Thu May 23 18:31:53 CEST 2019 Robert-André Mauchin - 0-0.4.20180529gitc35da9b +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering - 0-0.3.gitc35da9b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -62,4 +53,3 @@ building other packages which use import path with * Thu Apr 12 2018 Robert-André Mauchin - 0-0.1.20180529gitc35da9b - First package for Fedora -