/[packages]/cauldron/golang-github-azure-autorest/current/SPECS/golang-github-azure-autorest.spec
ViewVC logotype

Contents of /cauldron/golang-github-azure-autorest/current/SPECS/golang-github-azure-autorest.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2133551 - (show annotations) (download)
Tue Dec 31 15:15:24 2024 UTC (6 months ago) by wally
File size: 1625 byte(s)
- update RPM group to Development/Golang
1 # 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 Release: %mkrel 2
22 Summary: HTTP request client for use with Autorest-generated API client packages
23 Group: Development/Golang
24
25 # Upstream license specification: Apache-2.0
26 License: ASL 2.0
27 URL: %{gourl}
28 Source0: %{gosource}
29 BuildArch: noarch
30
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

  ViewVC Help
Powered by ViewVC 1.1.30