Hello community,

here is the log from the commit of package terraform-provider-template for 
openSUSE:Factory checked in at 2020-06-10 00:53:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terraform-provider-template (Old)
 and      /work/SRC/openSUSE:Factory/.terraform-provider-template.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "terraform-provider-template"

Wed Jun 10 00:53:17 2020 rev:1 rq:812993 version:2.1.2

Changes:
--------
New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ 
/work/SRC/openSUSE:Factory/.terraform-provider-template.new.3606/terraform-provider-template.changes
        2020-06-10 00:53:24.247725239 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Fri May 17 11:51:49 UTC 2019 -  <[email protected]>
+
+- Initial packaging of the template provider

New:
----
  terraform-provider-template-2.1.2.tar.gz
  terraform-provider-template.changes
  terraform-provider-template.spec

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

Other differences:
------------------
++++++ terraform-provider-template.spec ++++++
#
# spec file for package terraform
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# Make sure that the binary is not getting stripped.
%if 0%{?suse_version}
%{go_nostrip}
%endif

Name:           terraform-provider-template
Version:        2.1.2
Release:        0
License:        MPL-2.0
Summary:        Terraform template-provider
Url:            
https://github.com/terraform-providers/terraform-provider-template
Group:          System/Management
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  golang-packaging
BuildRequires:  golang(API) >= 1.8
Requires:       terraform >= 0.11.0
%if 0%{?suse_version}
%{go_provides}
%endif

%description
This is a terraform provider that lets you use template files

%prep
%setup -q -n %{name}-%{version}

%build
export GO111MODULE=off
export GOPROXY=off
%if 0%{?suse_version}
%goprep github.com/terraform-providers/terraform-provider-template
%gobuild
%endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?ubuntu_version}
mkdir -p ./_build/src/github.com/terraform-providers
ln -s $(pwd) 
./_build/src/github.com/terraform-providers/terraform-provider-template
export GOPATH=$(pwd)/_build
cd _build/src/github.com/terraform-providers/terraform-provider-template
go build -ldflags "-X main.version=%{version}" .
%endif

%install
export GO111MODULE=off
export GOPROXY=off
%if 0%{?suse_version}
%goinstall
rm -rf %{buildroot}/%{_libdir}/go/contrib
%endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?ubuntu_version}
export GOPATH=$(pwd)/_build
mkdir -p %{buildroot}%{_bindir}
export GOBIN=%{buildroot}%{_bindir}
cd _build/src/github.com/terraform-providers/terraform-provider-template
go install -ldflags "-X main.version=%{version}"
%endif

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

%files
%defattr(-,root,root,-)
%doc README.md LICENSE
%{_bindir}/%{name}

%changelog

Reply via email to