# Generated by go2rpm %bcond_without check # https://github.com/Azure/go-autorest %global goipath github.com/Azure/go-autorest Version: 14.2.0 %global tag autorest/v0.11.15 %global distprefix %{nil} %gometa %global common_description %{expand: This package implements an HTTP request pipeline suitable for use across multiple go-routines and provides the shared routines relied on by AutoRest generated Go code.} %global golicenses LICENSE %global godocs README.md CHANGELOG.md example Name: %{goname} Release: %mkrel 1 Summary: HTTP request client for use with Autorest-generated API client packages Group: Development/Other # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(contrib.go.opencensus.io/exporter/ocagent) BuildRequires: golang(github.com/dimchansky/utfbom) BuildRequires: golang(github.com/form3tech-oss/jwt-go) BuildRequires: golang(github.com/mitchellh/go-homedir) BuildRequires: golang(go.opencensus.io/plugin/ochttp) BuildRequires: golang(go.opencensus.io/plugin/ochttp/propagation/tracecontext) BuildRequires: golang(go.opencensus.io/stats/view) BuildRequires: golang(go.opencensus.io/trace) BuildRequires: golang(golang.org/x/crypto/pkcs12) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck -d tracing %endif %gopkgfiles