Hello community,
here is the log from the commit of package terraform-provider-null for
openSUSE:Factory checked in at 2020-11-26 23:15:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terraform-provider-null (Old)
and /work/SRC/openSUSE:Factory/.terraform-provider-null.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "terraform-provider-null"
Thu Nov 26 23:15:45 2020 rev:4 rq:850971 version:3.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/terraform-provider-null/terraform-provider-null.changes
2020-10-26 16:27:36.771480439 +0100
+++
/work/SRC/openSUSE:Factory/.terraform-provider-null.new.5913/terraform-provider-null.changes
2020-11-26 23:16:25.253085460 +0100
@@ -1,0 +2,6 @@
+Wed Nov 11 11:41:42 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-null.spec ++++++
--- /var/tmp/diff_new_pack.nnWQgH/_old 2020-11-26 23:16:25.729085830 +0100
+++ /var/tmp/diff_new_pack.nnWQgH/_new 2020-11-26 23:16:25.733085833 +0100
@@ -16,6 +16,35 @@
#
+%global provider github
+%global provider_tld com
+%global project terraform-providers
+%global repo terraform-provider-null
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+%global registry registry.terraform.io
+%global namespace hashicorp
+%global providername null
+
+%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
+
Name: terraform-provider-null
Version: 3.0.0
Release: 0
@@ -23,7 +52,7 @@
License: MPL-2.0
Group: System/Management
URL: https://github.com/terraform-providers/terraform-provider-null
-Source: %{name}-%{version}.tar.xz
+Source: %{repo}-%{version}.tar.xz
%if 0%{?suse_version}
%{go_nostrip}
%endif
@@ -53,21 +82,24 @@
This is a terraform provider that lets you use null files
%prep
-%setup -q
+%setup -q -n %{repo}-%{version}
%build
-%{goprep} github.com/terraform-providers/%{name}
+%{goprep} %{import_path}
%{gobuild} -mod=vendor ""
-ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}_v%{version}
%install
%{goinstall}
rm -rf %{buildroot}/%{_libdir}/go/contrib
+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
%doc CHANGELOG.md README.md
%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]