diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b3cbebe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/clock-1.1.tar.gz diff --git a/golang-github-jmhodges-clock.spec b/golang-github-jmhodges-clock.spec new file mode 100644 index 0000000..1765823 --- /dev/null +++ b/golang-github-jmhodges-clock.spec @@ -0,0 +1,45 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/jmhodges/clock +%global goipath github.com/jmhodges/clock +Version: 1.1 + +%gometa + +%global common_description %{expand: +Package Clock provides an abstraction for system time that enables testing of +time-sensitive code.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Abstraction for system time that enables testing of time-sensitive code + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue May 07 22:01:22 CEST 2019 Robert-André Mauchin - 1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..17cb31b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (clock-1.1.tar.gz) = aa5ab20a0cf0b971e2355c7695342db133d0b4ce77db9ba60e28555e157b99063bddab72bb6c589bd71c3c160b4a2c4294db605208a8c8e491b8fdf14e142265