Hello community,
here is the log from the commit of package terraform-provider-vsphere for
openSUSE:Factory checked in at 2020-11-26 23:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terraform-provider-vsphere (Old)
and /work/SRC/openSUSE:Factory/.terraform-provider-vsphere.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "terraform-provider-vsphere"
Thu Nov 26 23:15:32 2020 rev:7 rq:850966 version:1.24.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/terraform-provider-vsphere/terraform-provider-vsphere.changes
2020-10-26 16:27:33.819478066 +0100
+++
/work/SRC/openSUSE:Factory/.terraform-provider-vsphere.new.5913/terraform-provider-vsphere.changes
2020-11-26 23:16:21.405082469 +0100
@@ -1,0 +2,6 @@
+Wed Nov 11 12:04:10 UTC 2020 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Add symbolic link to comply with new filesystem layout for local provider
copies
+- Define and use common Go spec file variables
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ terraform-provider-vsphere.spec ++++++
--- /var/tmp/diff_new_pack.mOlygk/_old 2020-11-26 23:16:22.265083138 +0100
+++ /var/tmp/diff_new_pack.mOlygk/_new 2020-11-26 23:16:22.265083138 +0100
@@ -16,7 +16,35 @@
#
-# Make sure that the binary is not getting stripped.
+%global provider github
+%global provider_tld com
+%global project hashicorp
+%global repo terraform-provider-vsphere
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+%global registry registry.terraform.io
+%global namespace hashicorp
+%global providername vsphere
+
+%ifarch aarch64
+%define terraformarch amd64
+%endif
+%ifarch ppc64
+%define terraformarch ppc64
+%endif
+%ifarch ppc64le
+%define terraformarch ppc64le
+%endif
+%ifarch s390x
+%define terraformarch s390x
+%endif
+%ifarch %{ix86}
+%define terraformarch i386
+%endif
+%ifarch x86_64
+%define terraformarch amd64
+%endif
+
%if 0%{?suse_version}
%{go_nostrip}
%endif
@@ -28,7 +56,7 @@
License: MPL-2.0
Group: System/Management
URL:
https://github.com/terraform-providers/terraform-provider-vsphere
-Source: %{name}-%{version}.tar.xz
+Source: %{repo}-%{version}.tar.xz
%if 0%{?suse_version}
BuildRequires: golang-packaging
BuildRequires: xz
@@ -46,20 +74,23 @@
This is a terraform provider that lets you provision servers on a VMWare
vSphere server.
%prep
-%setup -q
+%setup -q -n %{repo}-%{version}
%build
-%{goprep} github.com/hashicorp/terraform-provider-vsphere
+%{goprep} %{import_path}
%{gobuild} -mod=vendor ""
-ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}_v%{version}
%install
%{goinstall}
+ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}_v%{version}
+install -d 755
%{buildroot}%{_datadir}/terraform/providers/%{registry}/%{namespace}/%{providername}/%{version}/linux_%{terraformarch}
+ln -s %{_bindir}/%{name}
%{buildroot}%{_datadir}/terraform/providers/%{registry}/%{namespace}/%{providername}/%{version}/linux_%{terraformarch}/%{name}_v%{version}
%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/%{name}
%{_bindir}/%{name}_v%{version}
+%{_datadir}/terraform
%changelog
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]