%global debug_package %{nil} # https://github.com/opentofu/opentofu %global goipath github.com/opentofu/opentofu %global forgeurl https://github.com/opentofu/opentofu Version: 1.8.8 %gometa -f Name: opentofu Release: 1%{?dist} Summary: A tool for building, changing, and versioning infrastructure. License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unlicense URL: https://opentofu.org Source0: https://github.com/opentofu/opentofu/archive/refs/tags/v%{version}.tar.gz Source1: %{archivename}-vendor.tar.gz BuildRequires: golang >= 1.22 %description OpenTofu enables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. %prep %goprep %setup -q -T -D -a1 %{forgesetupargs} %generate_buildrequires %build export LDFLAGS="-s -w -X github.com/opentofu/opentofu/version.dev=no" %gobuild -o %{gobuilddir}/bin/tofu %{goipath}/cmd/tofu %install install -D -m 0755 %{gobuilddir}/bin/tofu %{buildroot}%{_bindir}/tofu %files %doc README.md CHANGELOG.md CODEOWNERS %license LICENSE vendor/modules.txt %{_bindir}/tofu %changelog * Fri Dec 27 2024 sheePackager - 1.8.8-1 - Update to 1.8.8 * Thu Dec 05 2024 sheePackager - 1.8.7-1 - Update to 1.8.7 * Sat Nov 23 2024 sheePackager - 1.8.6-1 - Update 1.8.6 * Mon Nov 04 2024 sheePackager - 1.8.5-1 - Update to 1.8.5 * Sat Oct 26 2024 sheePackager - 1.8.4-1 - Update to 1.8.4 * Thu Oct 03 2024 sheePackager - 1.8.3-1 - Update to 1.8.3 * Mon Sep 16 2024 sheePackager - 1.8.2-1 - Update to 1.8.2 * Mon Sep 02 2024 sheePackager - 1.8.1-3 - Update to v1.8.1 - Use bundled integration * Wed Jun 05 2024 Mike Rochefort - 1.7.2-1 - Update to v1.7.2 * Wed May 08 2024 Mike Rochefort - 1.7.1-1 - Update to v1.7.1 * Tue Apr 30 2024 Mike Rochefort - 1.7.0-1 - Update to v1.7.0 * Thu Feb 22 2024 Mike Rochefort - 1.6.2-1 - Update to v1.6.2 * Wed Jan 24 2024 Mike Rochefort - 1.6.1-1 - Update to v1.6.1 * Thu Jan 11 2024 Mike Rochefort - 1.6.0-1 - Update to v1.6.0 GA * Wed Dec 20 2023 Mike Rochefort - 1.6.0~rc1-1 - Update to v1.6.0-rc1 * Fri Dec 08 2023 Mike Rochefort - 1.6.0~beta3-1 - Update to 1.6.0-beta3 * Mon Dec 04 2023 Mike Rochefort - 1.6.0~beta2-1 - Update to 1.6.0-beta2 * Fri Dec 01 2023 Mike Rochefort - 1.6.0~beta1-1 - Update to 1.6.0-beta1 * Mon Nov 27 2023 Mike Rochefort - 1.6.0~alpha5-1 - Update to 1.6.0-alpha5 * Wed Nov 01 2023 Mike Rochefort - 1.6.0~alpha3-1 - Initial build of OpenTofu