# Generated by go2rpm 1.3 %bcond_without check # https://github.com/qingstor/qingstor-sdk-go %global goipath github.com/qingstor/qingstor-sdk-go/v4 Version: 4.2.0 %gometa %global common_description %{expand: The official QingStor SDK for the Go programming language.} %global golicenses LICENSE %global godocs docs AUTHORS CHANGELOG.md README.md README_zh-CN.md Name: %{goname} Release: 1%{?dist} Summary: The official QingStor SDK for the Go programming language # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/pengsrc/go-shared/convert) BuildRequires: golang(github.com/qingstor/log) BuildRequires: golang(github.com/qingstor/log/level) BuildRequires: golang(gopkg.in/yaml.v2) %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 * Wed Jan 06 12:27:40 CET 2021 Robert-André Mauchin - 4.2.0-1 - Initial package