Hello community,
here is the log from the commit of package terraform-provider-openstack for
openSUSE:Factory checked in at 2020-11-26 23:15:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terraform-provider-openstack (Old)
and /work/SRC/openSUSE:Factory/.terraform-provider-openstack.new.5913
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "terraform-provider-openstack"
Thu Nov 26 23:15:40 2020 rev:8 rq:850970 version:1.31.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/terraform-provider-openstack/terraform-provider-openstack.changes
2020-10-21 14:39:53.173656266 +0200
+++
/work/SRC/openSUSE:Factory/.terraform-provider-openstack.new.5913/terraform-provider-openstack.changes
2020-11-26 23:16:24.197084639 +0100
@@ -1,0 +2,6 @@
+Wed Nov 11 11:48:18 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-openstack.spec ++++++
--- /var/tmp/diff_new_pack.lUFIGR/_old 2020-11-26 23:16:25.049085302 +0100
+++ /var/tmp/diff_new_pack.lUFIGR/_new 2020-11-26 23:16:25.049085302 +0100
@@ -16,7 +16,35 @@
#
-# Make sure that the binary is not getting stripped.
+%global provider github
+%global provider_tld com
+%global project terraform-providers
+%global repo terraform-provider-openstack
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+%global registry registry.terraform.io
+%global namespace hashicorp
+%global providername openstack
+
+%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-openstack
-Source: %{name}-%{version}.tar.xz
+Source: %{repo}-%{version}.tar.xz
Source99: terraform-provider-openstack-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?ubuntu_version}
@@ -59,13 +87,13 @@
This is a terraform provider that lets you provision servers on an OpenStack
platform via Terraform.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{repo}-%{version}
%build
export GO111MODULE=off
export GOPROXY=off
%if 0%{?suse_version}
-%goprep github.com/terraform-providers/%{name}
+%goprep %{import_path}
%gobuild
%endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} ||
0%{?ubuntu_version}
@@ -75,7 +103,6 @@
cd _build/src/github.com/terraform-providers/terraform-provider-openstack
go build .
%endif
-ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}_v%{version}
%install
export GO111MODULE=off
@@ -91,6 +118,9 @@
cd _build/src/github.com/terraform-providers/terraform-provider-openstack
go install
%endif
+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}
curr=$PWD
# extract the binary to be published
@@ -105,5 +135,6 @@
%license LICENSE
%{_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]