# Generated by go2rpm %bcond_without check # https://github.com/sacloud/libsacloud %global goipath github.com/sacloud/libsacloud Version: 1.21.1 %gometa %global common_description %{expand: Library for SAKURA CLOUD API with Go:cherry_blossom:.} %global golicenses LICENSE.txt api/license.go api/license_gen.go\\\ api/license_test.go sacloud/license.go\\\ sacloud/license_test.go %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Library for SAKURA CLOUD API with Go:cherry_blossom: # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mattn/go-runewidth) BuildRequires: golang(github.com/mattn/go-tty) BuildRequires: golang(github.com/mitchellh/go-vnc) BuildRequires: golang(github.com/skratchdot/open-golang/open) BuildRequires: golang(go.uber.org/ratelimit) BuildRequires: golang(golang.org/x/crypto/ssh) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 03 00:16:22 CEST 2019 Robert-André Mauchin - 1.21.1-1 - Initial package