File terraform.spec of Package terraform.12657

# 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

Name:           terraform
Version:        0.12.8
Release:        0
Summary:        Tool for building infrastructure safely and efficiently
License:        MPL-2.0
Group:          System/Management
Source:         %{name}-%{version}.tar.xz
Source99:       terraform-rpmlintrc
BuildRequires:  golang(API) >= 1.11
BuildRequires:  golang-packaging
BuildRequires:  xz
# See:
ExcludeArch:    %ix86

Terraform is a tool for building, changing, and versioning infrastructure
safely and efficiently. Terraform can manage existing and popular service
providers as well as custom in-house solutions.

%setup -q

export GOFLAGS=-mod=vendor
%{gobuild} .

export GOFLAGS=-mod=vendor

rm -rf %{buildroot}/%{_libdir}/go/contrib

%license LICENSE

openSUSE Build Service is sponsored by