diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d08dcc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-stdlib-3020fec0e66bdb65fd42cb346cb65d58deb92e0d.tar.gz diff --git a/golang-github-opentracing-contrib-stdlib.spec b/golang-github-opentracing-contrib-stdlib.spec new file mode 100644 index 0000000..ba0750a --- /dev/null +++ b/golang-github-opentracing-contrib-stdlib.spec @@ -0,0 +1,56 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/opentracing-contrib/go-stdlib +%global goipath github.com/opentracing-contrib/go-stdlib +%global commit 3020fec0e66bdb65fd42cb346cb65d58deb92e0d + +%gometa + +%global common_description %{expand: +This package contains OpenTracing instrumentation for packages in the Go +standard library.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: OpenTracing instrumentation for packages in the Go stdlib + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/opentracing/opentracing-go) +BuildRequires: golang(github.com/opentracing/opentracing-go/ext) +BuildRequires: golang(github.com/opentracing/opentracing-go/log) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/opentracing/opentracing-go/mocktracer) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Mon May 06 00:42:14 CEST 2019 Robert-André Mauchin - 0-0.1.20190506git3020fec +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..8cef5f8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-stdlib-3020fec0e66bdb65fd42cb346cb65d58deb92e0d.tar.gz) = 5ed9b1f595a94ca48c98ffb937587df9baaaf252955260778b2e320bedb460689b3890d9cf5d795d987b9a758d2685962a523aa5184c9ed6705858b01dde14d2