mirror of
https://abf.rosa.ru/djam/terraform-provider-decort.git
synced 2025-02-23 15:12:45 +00:00
Imported from SRPM
This commit is contained in:
commit
f67db88f9e
2 changed files with 48 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
terraform-provider-decort-1.20.tar.gz: a36486872da8b76645035463a1b0e00109fbb9c6
|
46
terraform-provider-decort.spec
Normal file
46
terraform-provider-decort.spec
Normal file
|
@ -0,0 +1,46 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
%define commit 7480160dc59686290bc1ca18622628266d9846af
|
||||
%define shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%define date 20210917
|
||||
%define tfprovider decort
|
||||
%ifarch x86_64 amd64
|
||||
%global goarch amd64
|
||||
%else
|
||||
%global goarch 386
|
||||
%endif
|
||||
|
||||
Name: terraform-provider-%{tfprovider}
|
||||
Version: 1.20
|
||||
Release: 1.rc.%{shortcommit}
|
||||
Summary: Terraform provider for DECORT platform (API 3.6.x or later)
|
||||
URL: https://github.com/rudecs/terraform-provider-decort
|
||||
Source0: %{url}/archive/rc-%{version}/%{name}-%{version}.tar.gz
|
||||
License: ASL 2.0
|
||||
Group: Development/Other
|
||||
BuildRequires: go >= 1.11
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%description
|
||||
Terraform provider for DECORT platform (API 3.6.x or later)
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-rc-%{version}
|
||||
|
||||
%build
|
||||
go build
|
||||
|
||||
upx %{name}
|
||||
|
||||
%install
|
||||
install -Dm0755 %{name} %{buildroot}/%{_datadir}/terraform/plugins/tf.%{tfprovider}.online/mylocal/%{tfprovider}/%{version}/linux_%{goarch}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE
|
||||
%{_datadir}/terraform/plugins/tf.%{tfprovider}.online/mylocal/%{tfprovider}/%{version}/linux_%{goarch}/%{name}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue