diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3f6cead --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/lightstep-tracer-go-0.16.0.tar.gz diff --git a/golang-github-lightstep-tracer.spec b/golang-github-lightstep-tracer.spec new file mode 100644 index 0000000..3aad600 --- /dev/null +++ b/golang-github-lightstep-tracer.spec @@ -0,0 +1,63 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/lightstep/lightstep-tracer-go +%global goipath github.com/lightstep/lightstep-tracer-go +Version: 0.16.0 + +%gometa + +%global common_description %{expand: +Package Lightstep implements the LightStep OpenTracing client for Go.} + +%global golicenses LICENSE +%global godocs examples CHANGELOG.md README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: LightStep distributed tracing library for Go + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/gogo/protobuf/proto) +BuildRequires: golang(github.com/gogo/protobuf/types) +BuildRequires: golang(github.com/lightstep/lightstep-tracer-common/golang/gogo/collectorpb) +BuildRequires: golang(github.com/lightstep/lightstep-tracer-common/golang/gogo/lightsteppb) +BuildRequires: golang(github.com/opentracing/opentracing-go) +BuildRequires: golang(github.com/opentracing/opentracing-go/ext) +BuildRequires: golang(github.com/opentracing/opentracing-go/log) +BuildRequires: golang(go.opencensus.io/trace) +BuildRequires: golang(google.golang.org/grpc) +BuildRequires: golang(google.golang.org/grpc/credentials) +BuildRequires: golang(google.golang.org/grpc/metadata) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/lightstep/lightstep-tracer-common/golang/gogo/collectorpb/collectorpbfakes) +BuildRequires: golang(github.com/onsi/ginkgo) +BuildRequires: golang(github.com/onsi/gomega) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue May 14 23:31:21 CEST 2019 Robert-André Mauchin - 0.16.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..350ddc9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (lightstep-tracer-go-0.16.0.tar.gz) = 041cf770cbfcea6daa19deb7f26606a43231e9e9faf9a97f977007492ffd32455df4b14ba79452e04fe8b9fd22e89c367c5ca1cce3068a099dd261b27a9cbfdb