# Generated by go2rpm 1.9.0 %bcond_without check %bcond_without bootstrap %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/Azure/azure-sdk-for-go %global goipath github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal %global forgeurl https://github.com/Azure/azure-sdk-for-go Version: 1.1.2 %global tag sdk/resourcemanager/internal/v1.1.2 %global distprefix %nil %gometa %global common_description %{expand: Internal pakcage for the Azure SDK for Go.} %global golicenses LICENSE.txt NOTICE.txt %global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md README.md\\\ SECURITY.md SUPPORT.md Name: %{goname} Release: %autorelease Summary: Azure SDK for Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 mv sdk/resourcemanager/internal ./ mv LICENSE.txt NOTICE.txt CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md SUPPORT.md internal/ find . ! \( -name internal -o -name _build \) -maxdepth 1 -exec rm -rvf {} \; mv internal/* . %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog %autochangelog