## START: Set by rpmautospec %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.3 %bcond_without check # https://github.com/open-telemetry/opentelemetry-go %global goipath go.opentelemetry.io/otel %global forgeurl https://github.com/open-telemetry/opentelemetry-go Version: 1.0.0~RC2 %gometa %global extractdir %(echo %{extractdir} | sed -e 's/~/-/g') %global gosource %(echo %{gosource} | sed -e 's/~/-/g') %global common_description %{expand: OpenTelemetry Go API and SDK.} %global golicenses LICENSE %global godocs example RELEASING.md CHANGELOG.md CONTRIBUTING.md\\\ README.md Name: %{goname} Release: %autorelease Summary: OpenTelemetry Go API and SDK # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # To avoid "found import comments" errors Patch0: 0001-Remove-import-comments.patch BuildRequires: golang(github.com/benbjohnson/clock) BuildRequires: golang(github.com/cenkalti/backoff/v4) 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(github.com/openzipkin/zipkin-go/model) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) BuildRequires: golang(go.opencensus.io/metric) BuildRequires: golang(go.opencensus.io/metric/metricdata) BuildRequires: golang(go.opencensus.io/metric/metricexport) BuildRequires: golang(go.opencensus.io/metric/metricproducer) BuildRequires: golang(go.opencensus.io/resource) BuildRequires: golang(go.opencensus.io/stats) BuildRequires: golang(go.opencensus.io/stats/view) BuildRequires: golang(go.opencensus.io/tag) BuildRequires: golang(go.opencensus.io/trace) BuildRequires: golang(go.opentelemetry.io/proto/otlp/collector/metrics/v1) BuildRequires: golang(go.opentelemetry.io/proto/otlp/collector/trace/v1) BuildRequires: golang(go.opentelemetry.io/proto/otlp/common/v1) BuildRequires: golang(go.opentelemetry.io/proto/otlp/metrics/v1) BuildRequires: golang(go.opentelemetry.io/proto/otlp/resource/v1) BuildRequires: golang(go.opentelemetry.io/proto/otlp/trace/v1) BuildRequires: golang(golang.org/x/mod/semver) BuildRequires: golang(golang.org/x/sys/unix) BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/errdetails) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/codes) BuildRequires: golang(google.golang.org/grpc/credentials) BuildRequires: golang(google.golang.org/grpc/encoding/gzip) BuildRequires: golang(google.golang.org/grpc/metadata) BuildRequires: golang(google.golang.org/grpc/status) BuildRequires: golang(google.golang.org/protobuf/proto) %if %{with check} # Tests BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/stretchr/testify/mock) BuildRequires: golang(github.com/stretchr/testify/suite) BuildRequires: golang(go.opencensus.io/trace/tracestate) BuildRequires: golang(google.golang.org/protobuf/types/known/durationpb) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Aug 02 2021 Robert-André Mauchin 1.0.0~RC2-2 - Uncommitted changes * Thu Jul 22 2021 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 21 13:27:47 CET 2020 Robert-André Mauchin - 0.15.0-1 - Initial package