1 |
guillomovitch |
1756171 |
# Generated by go2rpm |
2 |
|
|
%bcond_without check |
3 |
|
|
|
4 |
|
|
# https://github.com/Azure/go-autorest |
5 |
|
|
%global goipath github.com/Azure/go-autorest |
6 |
|
|
Version: 14.2.0 |
7 |
|
|
%global tag autorest/v0.11.15 |
8 |
|
|
%global distprefix %{nil} |
9 |
|
|
|
10 |
|
|
%gometa |
11 |
|
|
|
12 |
|
|
%global common_description %{expand: |
13 |
|
|
This package implements an HTTP request pipeline suitable for use across |
14 |
|
|
multiple go-routines and provides the shared routines relied on by AutoRest |
15 |
|
|
generated Go code.} |
16 |
|
|
|
17 |
|
|
%global golicenses LICENSE |
18 |
|
|
%global godocs README.md CHANGELOG.md example |
19 |
|
|
|
20 |
|
|
Name: %{goname} |
21 |
umeabot |
2245965 |
Release: %mkrel 3 |
22 |
guillomovitch |
1756171 |
Summary: HTTP request client for use with Autorest-generated API client packages |
23 |
wally |
2133551 |
Group: Development/Golang |
24 |
guillomovitch |
1756171 |
|
25 |
|
|
# Upstream license specification: Apache-2.0 |
26 |
|
|
License: ASL 2.0 |
27 |
|
|
URL: %{gourl} |
28 |
|
|
Source0: %{gosource} |
29 |
guillomovitch |
1756192 |
BuildArch: noarch |
30 |
guillomovitch |
1756171 |
|
31 |
|
|
BuildRequires: golang(contrib.go.opencensus.io/exporter/ocagent) |
32 |
|
|
BuildRequires: golang(github.com/dimchansky/utfbom) |
33 |
|
|
BuildRequires: golang(github.com/form3tech-oss/jwt-go) |
34 |
|
|
BuildRequires: golang(github.com/mitchellh/go-homedir) |
35 |
|
|
BuildRequires: golang(go.opencensus.io/plugin/ochttp) |
36 |
|
|
BuildRequires: golang(go.opencensus.io/plugin/ochttp/propagation/tracecontext) |
37 |
|
|
BuildRequires: golang(go.opencensus.io/stats/view) |
38 |
|
|
BuildRequires: golang(go.opencensus.io/trace) |
39 |
|
|
BuildRequires: golang(golang.org/x/crypto/pkcs12) |
40 |
|
|
|
41 |
|
|
%if %{with check} |
42 |
|
|
# Tests |
43 |
|
|
BuildRequires: golang(github.com/stretchr/testify/require) |
44 |
|
|
%endif |
45 |
|
|
|
46 |
|
|
%description |
47 |
|
|
%{common_description} |
48 |
|
|
|
49 |
|
|
%gopkg |
50 |
|
|
|
51 |
|
|
%prep |
52 |
|
|
%goprep |
53 |
|
|
|
54 |
|
|
%install |
55 |
|
|
%gopkginstall |
56 |
|
|
|
57 |
|
|
%if %{with check} |
58 |
|
|
%check |
59 |
|
|
%gocheck -d tracing |
60 |
|
|
%endif |
61 |
|
|
|
62 |
|
|
%gopkgfiles |