diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-07-25 04:43:11 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-07-25 04:43:11 +0000 |
commit | 73227f4ab7e012e81724b53a86da89f4e0b9b33f (patch) | |
tree | 64beaac3ff9979e12c6d5e562776455000465e59 | |
parent | ec393ef72ab509de01c2f2344a269765be68c459 (diff) |
automatic import of golang-github-azure-sdk-resourcemanager-resourcegraph-armresourcegraphHEADmasterf40f39
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | golang-github-azure-sdk-resourcemanager-resourcegraph-armresourcegraph.spec | 66 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 68 insertions, 0 deletions
@@ -0,0 +1 @@ +/azure-sdk-for-go-sdk-resourcemanager-resourcegraph-armresourcegraph-v0.9.0.tar.gz diff --git a/golang-github-azure-sdk-resourcemanager-resourcegraph-armresourcegraph.spec b/golang-github-azure-sdk-resourcemanager-resourcegraph-armresourcegraph.spec new file mode 100644 index 0000000..46e5aba --- /dev/null +++ b/golang-github-azure-sdk-resourcemanager-resourcegraph-armresourcegraph.spec @@ -0,0 +1,66 @@ +# Generated by go2rpm 1.14.0 +# Tests require credentials +%bcond check 0 +%bcond bootstrap 1 + +%global debug_package %{nil} +%global module resourcemanager/resourcegraph/armresourcegraph + +%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/%{module} +Version: 0.9.0 +%global tag sdk/%{module}/v%{version} +%global distprefix %{nil} + +%gometa -f + +%global common_description %{expand: +Azure SDK for Go - %{module} library.} + +%global golicenses LICENSE.txt +%global godocs CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md SUPPORT.md\\\ + SECURITY.md README.md + +Name: %{goname} +Release: %autorelease +Summary: Azure SDK for Go - %{module} library + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%autopatch -p1 + +# move building library to the root to match goipath +mv sdk/%{module}/* . +rm -rf .github documentation eng profile sdk + +%if %{without bootstrap} +%generate_buildrequires +%go_generate_buildrequires +%endif + +%install +%gopkginstall + +%if %{without bootstrap} +%if %{with check} +%check +%gocheck +%endif +%endif + +%gopkgfiles + +%changelog +%autochangelog @@ -0,0 +1 @@ +82b222b1bc78bad18a859a59a111a9d2 azure-sdk-for-go-sdk-resourcemanager-resourcegraph-armresourcegraph-v0.9.0.tar.gz |