From 87bb315e13b0ddd0766d22b52434127a03f36b96 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: May 31 2021 15:32:42 +0000 Subject: Initial package --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7123649 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/govultr-2.5.1.tar.gz diff --git a/golang-github-vultr-govultr-2.spec b/golang-github-vultr-govultr-2.spec new file mode 100644 index 0000000..ebecd4a --- /dev/null +++ b/golang-github-vultr-govultr-2.spec @@ -0,0 +1,50 @@ +# Generated by go2rpm 1.3 +# https://github.com/vultr/govultr/issues/147 +%ifnarch %{arm32} %{ix86} +%bcond_without check +%endif + +# https://github.com/vultr/govultr +%global goipath github.com/vultr/govultr/v2 +Version: 2.5.1 + +%gometa + +%global common_description %{expand: +Vultr Go API client.} + +%global golicenses LICENSE +%global godocs CONTRIBUTING.md CHANGELOG.md README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Vultr Go API client + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/google/go-querystring/query) +BuildRequires: golang(github.com/hashicorp/go-retryablehttp) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun May 30 14:21:30 CEST 2021 Robert-André Mauchin - 2.5.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..fc81817 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (govultr-2.5.1.tar.gz) = 128eafb6b712b6ca00058b67bda7bf8a8d72f50d146459e98df96f6c0a5aa5566e60f565b874ab335d704c113cd0a834e4afe2b3ba0831d38f150b22c4f1ca29