Blob Blame Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/census-instrumentation/opencensus-go
%global goipath         go.opencensus.io
%global forgeurl        https://github.com/census-instrumentation/opencensus-go
Version:                0.22.0

%gometa

%global common_description %{expand:
OpenCensus Go is a Go implementation of OpenCensus, a toolkit for collecting
application performance and behavior monitoring data. Currently it consists of
three major components: tags, stats and tracing.}

%global golicenses      LICENSE
%global godocs          examples AUTHORS CONTRIBUTING.md README.md example example example

Name:           %{goname}
Release:        2%{?dist}
Summary:        Stats collection and distributed tracing framework

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/golang/protobuf/proto)
BuildRequires:  golang(github.com/hashicorp/golang-lru/simplelru)
BuildRequires:  golang(golang.org/x/net/context)
BuildRequires:  golang(google.golang.org/grpc)
BuildRequires:  golang(google.golang.org/grpc/codes)
BuildRequires:  golang(google.golang.org/grpc/grpclog)
BuildRequires:  golang(google.golang.org/grpc/metadata)
BuildRequires:  golang(google.golang.org/grpc/stats)
BuildRequires:  golang(google.golang.org/grpc/status)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/google/go-cmp/cmp)
BuildRequires:  golang(github.com/google/go-cmp/cmp/cmpopts)
BuildRequires:  golang(golang.org/x/net/http2)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck -d plugin/ochttp
%endif

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue Apr 23 18:08:52 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.22.0-1
- Release 0.22.0

* Thu Apr 11 11:07:55 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.20.2-1
- Release 0.20.2 (#1697613)

* Tue Apr 02 16:19:50 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.20.0-1
- Release 0.20.0 (#1694917)

* Sun Mar 24 17:09:39 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.2-1
- Release 0.19.2 (#1691588)

* Sun Mar 17 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.1-1
- Release 0.19.1 (#1689452)

* Sat Mar 09 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.0-2
- Unbootstrap

* Mon Feb 25 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.0-1
- Release 0.19.0

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Mon Nov 12 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.18.0-1
- Release 0.18.0

* Tue Jul 17 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.14.0-1
- Bump to 0.14.0

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Thu Jun 28 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.13.0-1
- Bump to 0.13.0

* Mon Apr 23 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.0-3
- Unbootstrap

* Thu Mar 22 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.0-2
- Fix bootstrap

* Thu Mar 22 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.0-1
- First package for Fedora