Hello community,

here is the log from the commit of package terraform-provider-vsphere for 
openSUSE:Factory checked in at 2020-07-05 01:17:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terraform-provider-vsphere (Old)
 and      /work/SRC/openSUSE:Factory/.terraform-provider-vsphere.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "terraform-provider-vsphere"

Sun Jul  5 01:17:21 2020 rev:3 rq:818372 version:1.18.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/terraform-provider-vsphere/terraform-provider-vsphere.changes
    2020-06-15 20:32:14.458739721 +0200
+++ 
/work/SRC/openSUSE:Factory/.terraform-provider-vsphere.new.3060/terraform-provider-vsphere.changes
  2020-07-05 01:17:54.256943466 +0200
@@ -1,0 +2,5 @@
+Thu Jun 25 15:07:07 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- add symlink for terraform execution
+
+-------------------------------------------------------------------
@@ -30,0 +36,5 @@
+
+-------------------------------------------------------------------
+Wed April 24 14:10:20 UTC 2020 - clark....@suse.com
+
+- Package terraform-provider-vsphere v1.17.3

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ terraform-provider-vsphere.spec ++++++
--- /var/tmp/diff_new_pack.hVg8no/_old  2020-07-05 01:17:54.976945761 +0200
+++ /var/tmp/diff_new_pack.hVg8no/_new  2020-07-05 01:17:54.980945773 +0200
@@ -32,10 +32,10 @@
 %if 0%{?suse_version}
 BuildRequires:  golang-packaging
 BuildRequires:  xz
-BuildRequires:  golang(API) >= 1.8
+BuildRequires:  golang(API) >= 1.13
 %endif
 Requires:       mkisofs
-Requires:       terraform >= 0.10.0
+Requires:       terraform >= 0.12.0
 BuildRequires:  git
 BuildRequires:  xz
 %if 0%{?suse_version}
@@ -49,22 +49,13 @@
 %setup -q
 
 %build
-export GOFLAGS=-mod=vendor
 %{goprep} github.com/terraform-providers/terraform-provider-vsphere
-%{gobuild} .
+%{gobuild} -mod=vendor ""
+ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}_v%{version}
 
 %install
-export GOFLAGS=-mod=vendor
 %{goinstall}
 
-curr=$PWD
-# extract the binary to be published
-if [ -d %{_topdir}/OTHER ]; then
-    cd %{buildroot}%{_bindir}
-    tar zcf %{_topdir}/OTHER/%{name}-%{version}.%{_repository}.%{_arch}.tar.gz 
%{name}
-fi
-cd $curr
-
 %check
 export GOFLAGS=-mod=vendor
 %{gotest} github.com/terraform-providers/terraform-provider-vsphere/...
@@ -73,5 +64,6 @@
 %license LICENSE
 %doc CHANGELOG.md README.md
 %{_bindir}/%{name}
+%{_bindir}/%{name}_v%{version}
 
 %changelog


Reply via email to