# Generated by go2rpm %bcond_without check # https://github.com/census-instrumentation/opencensus-proto %global goipath github.com/census-instrumentation/opencensus-proto-0.2 %global forgeurl https://github.com/census-instrumentation/opencensus-proto Version: 0.2.1 %gometa %global goname golang-github-census-instrumentation-opencensus-proto-0.2 %global godevelname golang-github-census-instrumentation-opencensus-proto-devel-0.2 %global common_description %{expand: Census provides a framework to define and collect stats against metrics and to break those stats down across user-defined dimensions. The Census framework is natively available in many languages (e.g. C++, Go, and Java). The API interface types are defined using protos to ensure consistency and interoperability for the different implementations.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTING.md README.md RELEASING.md Name: %{goname} Release: 7%{?dist} Summary: Language Independent Interface Types For OpenCensus # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/protobuf/descriptor) BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) BuildRequires: golang(github.com/golang/protobuf/ptypes/wrappers) BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/runtime) BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/utilities) 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/status) BuildRequires: golang(google.golang.org/protobuf/reflect/protoreflect) BuildRequires: golang(google.golang.org/protobuf/runtime/protoimpl) %description %{common_description} %gopkg %prep %goprep sed -i 's|github.com/census-instrumentation/opencensus-proto|github.com/census-instrumentation/opencensus-proto-0.2|' $(find . -iname "*.go" -type f) %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G - 0.2.1-7 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 20:45:47 CEST 2020 Robert-André Mauchin - 0.3.0-1 - Update to 0.3.0 * Tue Jan 28 2020 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 29 18:48:52 CEST 2019 Robert-André Mauchin - 0.2.0-2 - Update to new macros * Wed Mar 13 2019 Robert-André Mauchin - 0.2.0-1 - Release 0.2.0 (#1688080) * Thu Jan 31 2019 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 12 2018 Robert-André Mauchin - 0.1.0-1 - First package for Fedora