-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgolang-github-redhatcloudx-ocb-test.spec
151 lines (134 loc) · 11.1 KB
/
golang-github-redhatcloudx-ocb-test.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# Generated by go2rpm 1.9.0
%bcond_without check
# https://github.com/redhatcloudx/ocb-test
%global goipath github.com/redhatcloudx/ocb-test
%global commit 4799e2df534fe86159f2c320cea72a8f082742e2
%gometa -f
%global common_description %{expand:
# FIXME}
Name: %{goname}
Version: 0
Release: %autorelease -p
Summary: None
License: # FIXME
URL: %{gourl}
Source: %{gosource}
# Using go-mods-to-bundled-provides.py from
# https://src.fedoraproject.org/rpms/butane/blob/rawhide/f/go-mods-to-bundled-provides.py
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension/internal/healthcheck)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/jaegerremotesampling)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/jaegerremotesampling/internal)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor/internal/common)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/ocmetrics)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/octrace)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver)) = 0.92.0
Provides: bundled(golang(github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(github.com/stretchr/testify/assert)) = 1.8.4
Provides: bundled(golang(go.opentelemetry.io/collector/component)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/component/componenttest)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/connector)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/exporterhelper)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/exporterhelper/internal)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/internal/common)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/internal/otlptext)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/debugexporter)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/debugexporter/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/loggingexporter)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/loggingexporter/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/otlpexporter)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/otlpexporter/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/otlphttpexporter)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/exporter/otlphttpexporter/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension/experimental/storage)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension/auth)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension/ballastextension)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension/ballastextension/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension/zpagesextension)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/extension/zpagesextension/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/otelcol)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/otelcol/internal/configunmarshaler)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/otelcol/internal/grpclog)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/processor)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/processor/processorhelper)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/processor/batchprocessor)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/processor/batchprocessor/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/processor/memorylimiterprocessor)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/processor/memorylimiterprocessor/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver/receiverhelper)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver/otlpreceiver)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver/otlpreceiver/internal/logs)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver/otlpreceiver/internal/metadata)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver/otlpreceiver/internal/metrics)) = 0.92.0
Provides: bundled(golang(go.opentelemetry.io/collector/receiver/otlpreceiver/internal/trace)) = 0.92.0
Provides: bundled(golang(golang.org/x/sys/cpu)) = 0.16.0
Provides: bundled(golang(golang.org/x/sys/plan9)) = 0.16.0
Provides: bundled(golang(golang.org/x/sys/unix)) = 0.16.0
Provides: bundled(golang(golang.org/x/sys/windows)) = 0.16.0
Provides: bundled(golang(golang.org/x/sys/windows/registry)) = 0.16.0
Provides: bundled(golang(golang.org/x/sys/windows/svc)) = 0.16.0
Provides: bundled(golang(golang.org/x/sys/windows/svc/eventlog)) = 0.16.0
%description %{common_description}
%gopkg
%prep
# Use vendored dependencies.
%goprep -k
tar c -C vendor/ . | tar x -C %{gobuilddir}/src
%autopatch -p1
%build
export GO111MODULE=on
export GOFLAGS=-mod=vendor
%gobuild -o %{gobuilddir}/bin/ocb-test %{goipath}
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%{_bindir}/*
%gopkgfiles
%changelog
%autochangelog