# Generated by go2rpm %bcond_without check # https://github.com/vmware/photon-controller-go-sdk %global goipath github.com/vmware/photon-controller-go-sdk %global commit e3620ad3ad39dcb965dee64917d8880475a95e77 %gometa %global common_description %{expand: Photon Controller GO SDK.} %global golicenses LICENSE LICENSE-SSPI.txt %global godocs DEVELOP.md README.md README-SSPI.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Photon Controller GO SDK # Upstream license specification: Apache-2.0 and BSD-3-Clause License: ASL 2.0 and BSD URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/onsi/ginkgo) BuildRequires: golang(github.com/onsi/gomega) %endif %description %{common_description} %gopkg %prep %goprep mv SSPI/LICENSE.txt LICENSE-SSPI.txt mv SSPI/README.md README-SSPI.md %install %gopkginstall %if %{with check} %check # https://github.com/vmware/photon-controller-go-sdk/issues/5 %gocheck -d photon %endif %gopkgfiles %changelog * Sun May 19 23:06:37 CEST 2019 Robert-André Mauchin - 0-0.120190519gite3620ad3 - Initial package