diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b451f00 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/quicktest-1.4.1.tar.gz diff --git a/golang-github-frankban-quicktest.spec b/golang-github-frankban-quicktest.spec new file mode 100644 index 0000000..c483c04 --- /dev/null +++ b/golang-github-frankban-quicktest.spec @@ -0,0 +1,48 @@ +# Generated by go2rpm 1 +%bcond_without check + +# https://github.com/frankban/quicktest +%global goipath github.com/frankban/quicktest +Version: 1.4.1 + +%gometa + +%global common_description %{expand: +A collection of Go helpers for writing tests.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Quick helpers for testing Go applications + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/google/go-cmp/cmp) +BuildRequires: golang(github.com/google/go-cmp/cmp/cmpopts) +BuildRequires: golang(github.com/kr/pretty) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Wed Aug 21 16:56:37 CEST 2019 Robert-André Mauchin - 1.4.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..37bfc97 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (quicktest-1.4.1.tar.gz) = da049c8bd6cc4d720e24756bd8a55ccde48dcefc2d8d3a4494ef5cbcbfa7b9a4e01dbc1dce39aec91afe484f69264b47efe8e8d2c6e5280fcd68df60371e389c