## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %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.6.0 %bcond_without check %bcond_without bootstrap # https://github.com/open-telemetry/opentelemetry-go-contrib %global goipath go.opentelemetry.io/contrib %global forgeurl https://github.com/open-telemetry/opentelemetry-go-contrib Version: 1.3.0 %gometa %global goipaths0 go.opentelemetry.io/contrib %global goipathsex0 go.opentelemetry.io/contrib/exporters/metric/cortex/ %if %{without bootstrap} %global goipaths1 go.opentelemetry.io/contrib/exporters/metric/cortex/ %endif %global common_description %{expand: Collection of extensions for OpenTelemetry-Go.} %global golicenses LICENSE %global godocs README.md RELEASING.md CHANGELOG.md CONTRIBUTING.md Name: %{goname} Release: %autorelease Summary: Collection of extensions for OpenTelemetry-Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(cloud.google.com/go/compute/metadata) BuildRequires: golang(github.com/DataDog/datadog-go/statsd) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/awserr) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/ec2metadata) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session) BuildRequires: golang(github.com/felixge/httpsnoop) BuildRequires: golang(github.com/golang/snappy) %if %{without bootstrap} BuildRequires: golang(github.com/prometheus/prometheus/prompb) %endif BuildRequires: golang(github.com/spf13/afero) BuildRequires: golang(github.com/spf13/viper) # Examples are not packaged # BuildRequires: golang(go.opencensus.io/examples/exporter) # BuildRequires: golang(go.opencensus.io/examples/grpc/proto) BuildRequires: golang(go.opencensus.io/plugin/ocgrpc) BuildRequires: golang(go.opencensus.io/trace) BuildRequires: golang(go.opencensus.io/trace/propagation) BuildRequires: golang(go.opentelemetry.io/otel) BuildRequires: golang(go.opentelemetry.io/otel/attribute) BuildRequires: golang(go.opentelemetry.io/otel/baggage) BuildRequires: golang(go.opentelemetry.io/otel/bridge/opencensus) BuildRequires: golang(go.opentelemetry.io/otel/codes) BuildRequires: golang(go.opentelemetry.io/otel/exporters/stdout/stdouttrace) BuildRequires: golang(go.opentelemetry.io/otel/metric) BuildRequires: golang(go.opentelemetry.io/otel/metric/global) BuildRequires: golang(go.opentelemetry.io/otel/metric/number) BuildRequires: golang(go.opentelemetry.io/otel/metric/sdkapi) BuildRequires: golang(go.opentelemetry.io/otel/metric/unit) BuildRequires: golang(go.opentelemetry.io/otel/propagation) BuildRequires: golang(go.opentelemetry.io/otel/sdk/export/metric) BuildRequires: golang(go.opentelemetry.io/otel/sdk/export/metric/aggregation) BuildRequires: golang(go.opentelemetry.io/otel/sdk/instrumentation) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/aggregator/histogram) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/controller/basic) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/processor/basic) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/selector/simple) BuildRequires: golang(go.opentelemetry.io/otel/sdk/resource) BuildRequires: golang(go.opentelemetry.io/otel/sdk/trace) BuildRequires: golang(go.opentelemetry.io/otel/semconv/v1.7.0) BuildRequires: golang(go.opentelemetry.io/otel/trace) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/metadata) BuildRequires: golang(k8s.io/apimachinery/pkg/apis/meta/v1) BuildRequires: golang(k8s.io/client-go/kubernetes) BuildRequires: golang(k8s.io/client-go/rest) %if %{without bootstrap} %if %{with check} # Tests BuildRequires: golang(github.com/aws/aws-sdk-go/aws/awserr) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/ec2metadata) BuildRequires: golang(github.com/golang/snappy) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/prometheus/prometheus/prompb) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/mock) BuildRequires: golang(github.com/stretchr/testify/require) BuildRequires: golang(go.opentelemetry.io/otel) BuildRequires: golang(go.opentelemetry.io/otel/attribute) BuildRequires: golang(go.opentelemetry.io/otel/codes) BuildRequires: golang(go.opentelemetry.io/otel/metric) BuildRequires: golang(go.opentelemetry.io/otel/metric/global) BuildRequires: golang(go.opentelemetry.io/otel/metric/sdkapi) BuildRequires: golang(go.opentelemetry.io/otel/propagation) BuildRequires: golang(go.opentelemetry.io/otel/sdk/export/metric) BuildRequires: golang(go.opentelemetry.io/otel/sdk/export/metric/aggregation) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/aggregator/histogram) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/aggregator/sum) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/controller/basic) BuildRequires: golang(go.opentelemetry.io/otel/sdk/metric/processor/basic) BuildRequires: golang(go.opentelemetry.io/otel/sdk/resource) BuildRequires: golang(go.opentelemetry.io/otel/sdk/trace) BuildRequires: golang(go.opentelemetry.io/otel/semconv/v1.7.0) BuildRequires: golang(go.opentelemetry.io/otel/trace) %endif %endif %description %{common_description} %gopkg %prep %goprep rm -rfv instrumentation/github.com/astaxie/beego/ # examples are not packaged rm -rvf propagators/opencensus/examples %install %gopkginstall %if %{with check} %check %gocheck %{?with_bootstrap:-t exporters/metric/cortex} -t instrumentation %endif %gopkgfiles %changelog * Sun Jan 30 2022 Robert-André Mauchin 1.3.0-2 - Uncommitted changes * Sun Jan 30 2022 Robert-André Mauchin 1.3.0-1 - Initial release