diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..520f61e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/reqtrace-245c9e0234cb2ad542483a336324e982f1a22934.tar.gz diff --git a/golang-github-jacobsa-reqtrace.spec b/golang-github-jacobsa-reqtrace.spec new file mode 100644 index 0000000..d2ee8be --- /dev/null +++ b/golang-github-jacobsa-reqtrace.spec @@ -0,0 +1,48 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/jacobsa/reqtrace +%global goipath github.com/jacobsa/reqtrace +%global commit 245c9e0234cb2ad542483a336324e982f1a22934 + +%gometa + +%global common_description %{expand: +A lightweight request tracing package for Go.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: A lightweight request tracing package for Go + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(golang.org/x/net/context) + +%description +%{common_description} + +%godevelpkg + +%prep +%goprep + +%install +%godevelinstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Fri May 17 22:25:22 CEST 2019 Brian (bex) Exelbierd - 0-0.1.20190517git245c9e0 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..4bfcc22 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (reqtrace-245c9e0234cb2ad542483a336324e982f1a22934.tar.gz) = cac0af49ccba1660c6729b717980e7415bba7e2b88dd352a5d9e5c121052e39b6ac36de71eed959e84102cf2e979a1ce2b39b225d207fcf5940cab529e9ac807