Blob Blame History Raw
# Generated by go2rpm
# https://github.com/lightstep/lightstep-tracer-go/issues/217
%ifnarch %{ix86} %{arm}
%bcond_without check
%endif

# 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:        2%{?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
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue May 14 23:31:21 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.16.0-1
- Initial package