# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/Azure/azure-sdk-for-go %global goipath github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dns/armdns %global forgeurl https://github.com/Azure/azure-sdk-for-go Version: 1.1.0 %global tag sdk/resourcemanager/dns/armdns/v1.1.0 %global distprefix %nil %gometa %global common_description %{expand: This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at:.} %global golicenses LICENSE.txt NOTICE.txt %global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md README.md\\\ SECURITY.md SUPPORT.md CHANGELOG.md\\\ README.md autorest.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/dns/armdns ./ mv NOTICE.txt CODE_OF_CONDUCT.md CONTRIBUTING.md SECURITY.md SUPPORT.md armdns/ find . ! \( -name armdns -o -name _build \) -maxdepth 1 -exec rm -rvf {} \; mv armdns/* . %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog