# Generated by go2rpm %bcond_without check # https://github.com/aws/aws-sdk-go-v2 %global goipath github.com/aws/aws-sdk-go-v2 Version: 0.7.0 %gometa %global common_description %{expand: aws-sdk-go-v2 is the Developer Preview for the v2 of the AWS SDK for the Go programming language.} %global golicenses LICENSE.txt NOTICE.txt %global godocs example CHANGELOG.md CHANGELOG_PENDING.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md Name: %{goname} Release: 1%{?dist} Summary: AWS SDK for the Go programming language # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/jmespath/go-jmespath) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # aws/external: needs network %gocheck -t aws/external %endif %gopkgfiles %changelog * Fri Apr 19 10:35:57 CEST 2019 Robert-André Mauchin - 0.7.0-1 - Initial package