Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/aliyun/alibaba-cloud-sdk-go
%global goipath         github.com/aliyun/alibaba-cloud-sdk-go
Version:                1.58.7
%global tag             1.58.7

%gometa

%global common_description %{expand:
Alibaba Cloud SDK for Go allows you to access Alibaba Cloud services such as
Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You
can access Alibaba Cloud services without the need to handle API related tasks,
such as signing and constructing your requests.}

%global golicenses      LICENSE
%global godocs          docs CONTRIBUTING.md ChangeLog.txt README-CN.md\\\
                        README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Alibaba cloud SDK for Go

# Upstream license specification: Apache-2.0
License:        ASL 2.0$
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/aliyun/aliyun-oss-go-sdk/oss)
BuildRequires:  golang(github.com/jmespath/go-jmespath)
BuildRequires:  golang(github.com/json-iterator/go)
BuildRequires:  golang(github.com/satori/go.uuid)
BuildRequires:  golang(gopkg.in/ini.v1)

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

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck -d integration -d sdk/auth/credentials/providers -d sdk/auth/signers
%endif

%gopkgfiles

%changelog
* Mon Apr 29 17:21:27 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.58.7-1
- Initial package