Blame packages/t/terragrunt/terragrunt.spec

52857c
#
52857c
# spec file for package terragrunt
52857c
#
a7e26d
# Copyright (c) 2023 SUSE LLC
52857c
#
52857c
# All modifications and additions to the file contributed by third parties
52857c
# remain the property of their copyright owners, unless otherwise agreed
52857c
# upon. The license for this file, and modifications and additions to the
52857c
# file, is the same license as for the pristine package itself (unless the
52857c
# license for the pristine package is not an Open Source License, in which
52857c
# case the license is the MIT License). An "Open Source License" is a
52857c
# license that conforms to the Open Source Definition (Version 1.9)
52857c
# published by the Open Source Initiative.
52857c
52857c
# Please submit bugfixes or comments via https://bugs.opensuse.org/
52857c
#
52857c
52857c
52857c
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
52857c
52857c
Name:           terragrunt
Bernhard M. Wiedemann 514c2a
Version:        0.43.1
52857c
Release:        0
52857c
Summary:        Thin wrapper for Terraform for working with multiple Terraform modules
52857c
License:        MIT
52857c
URL:            https://github.com/gruntwork-io/terragrunt
52857c
Source:         terragrunt-%{version}.tar.gz
52857c
Source1:        vendor.tar.gz
ea8894
BuildRequires:  go >= 1.18
52857c
52857c
%description
52857c
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.
52857c
52857c
%prep
52857c
%setup -q
52857c
%setup -q -T -D -a 1
52857c
52857c
%build
52857c
go build \
52857c
   -mod=vendor \
52857c
   -buildmode=pie \
52857c
   -ldflags="-X main.VERSION=%{version}"
52857c
52857c
%install
52857c
# Install the binary.
52857c
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
52857c
52857c
%files
52857c
%doc README.md
52857c
%license LICENSE.txt
52857c
%{_bindir}/%{name}
52857c
52857c
%changelog