2022-02-09 22:27:05 +01:00
|
|
|
#
|
|
|
|
# spec file for package terragrunt
|
|
|
|
#
|
2023-01-05 15:27:01 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-02-09 22:27:05 +01:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
|
|
|
|
|
|
|
|
Name: terragrunt
|
2023-12-13 16:51:58 +01:00
|
|
|
Version: 0.54.2
|
2022-02-09 22:27:05 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Thin wrapper for Terraform for working with multiple Terraform modules
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/gruntwork-io/terragrunt
|
|
|
|
Source: terragrunt-%{version}.tar.gz
|
|
|
|
Source1: vendor.tar.gz
|
2023-06-16 08:12:01 +02:00
|
|
|
BuildRequires: go >= 1.20
|
2022-02-09 22:27:05 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Terragrunt is a thin wrapper for Terraform that provides extra tools for keeping your Terraform configurations DRY, working with multiple Terraform modules, and managing remote state.
|
|
|
|
|
|
|
|
%prep
|
2023-09-29 06:39:36 +02:00
|
|
|
%autosetup -p1 -a 1
|
2022-02-09 22:27:05 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
go build \
|
|
|
|
-mod=vendor \
|
|
|
|
-buildmode=pie \
|
|
|
|
-ldflags="-X main.VERSION=%{version}"
|
|
|
|
|
|
|
|
%install
|
|
|
|
# Install the binary.
|
|
|
|
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|