Blob Blame History Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/Azure/azure-amqp-common-go
%global goipath         github.com/Azure/azure-amqp-common-go
Version:                2.1.0

%gometa

%global common_description %{expand:
Azure AMQP abstractions for Golang contains common types and interfaces for use
in Service Bus and Event Hubs.

This project contains reusable components for AMQP based services like Event Hub
and Service Bus. You will find abstractions over authentication, claims-based
security, connection string parsing and RPC for AMQP.}

%global golicenses      LICENSE
%global godocs          README.md changelog.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Common types and interfaces for Service Bus and Event Hubs

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/Azure/go-autorest/autorest/adal)
BuildRequires:  golang(github.com/Azure/go-autorest/autorest/azure)
BuildRequires:  golang(github.com/devigned/tab)
BuildRequires:  golang(golang.org/x/crypto/pkcs12)
BuildRequires:  golang(pack.ag/amqp)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/assert)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Tue Aug 20 19:53:56 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.1.0-1
- Initial package