From ff0991b1ddaac5d57528e89e45891a544a2ec5c6 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: May 29 2018 21:18:09 +0000 Subject: Initial import (#1573987) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1363324 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-clocksmith-c35da9bed550558a4797c74e34957071214342e7.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index f1892e8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-jedisct1-clocksmith - -The golang-github-jedisct1-clocksmith package \ No newline at end of file diff --git a/golang-github-jedisct1-clocksmith.spec b/golang-github-jedisct1-clocksmith.spec new file mode 100644 index 0000000..f62e005 --- /dev/null +++ b/golang-github-jedisct1-clocksmith.spec @@ -0,0 +1,59 @@ +# Run tests in check section +%bcond_without check + +%global goipath github.com/jedisct1/go-clocksmith +%global commit c35da9bed550558a4797c74e34957071214342e7 + +%global common_description %{expand: +A sleep-aware sleep() function, that doesn't pause (for too long) if the +system goes to hibernation.} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: A sleep-aware-sleep() function +License: MIT +URL: %{gourl} +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. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks +%endif + + +%files devel -f devel.file-list +%license LICENSE +%doc README.md + + +%changelog +* Thu Apr 12 2018 Robert-André Mauchin - 0-0.1.20180529gitc35da9b +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..2948d8c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-clocksmith-c35da9bed550558a4797c74e34957071214342e7.tar.gz) = aea97b52af3be19ddebb7943f84fb131678cc7e9e03ec66b78d0ce046ed054c2cbb0fd1ad8a4647b5da8f0bc343d8d64afd7ebbf3cdc9efdc4d52db6ebd2b281