commit e8a4d35a5592fe0f5ceed03123adb6c78b9721bc76f2c4c6e187cfddeb64c407 Author: OBS User buildservice-autocommit Date: Tue Oct 10 18:59:23 2023 +0000 baserev update by copy to link target OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:opentofu/opentofu?expand=0&rev=3 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..13f0f18 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/opentofu/opentofu/ + git + v1.6.0-alpha2 + @PARENT_TAG@ + v(.*)-(.*) + \1~\2 + .git + + + + *.tar + gz + + + + + + diff --git a/opentofu-1.6.0~alpha2.obscpio b/opentofu-1.6.0~alpha2.obscpio new file mode 100644 index 0000000..778b3d9 --- /dev/null +++ b/opentofu-1.6.0~alpha2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47a7aa5b88a83251941faf510777bce8adad6fff5f6cead73d2bd7cceba3432b +size 17465869 diff --git a/opentofu-rpmlintrc b/opentofu-rpmlintrc new file mode 100644 index 0000000..68a18d8 --- /dev/null +++ b/opentofu-rpmlintrc @@ -0,0 +1,2 @@ +addFilter (".*W: no-manual-page-for-binary.*") +addFilter (".*W: position-independent-executable-suggested /usr/bin/terraform") diff --git a/opentofu.changes b/opentofu.changes new file mode 100644 index 0000000..0aae3f4 --- /dev/null +++ b/opentofu.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Oct 6 13:23:54 UTC 2023 - Johannes Kastl + +- new package opentofu: OpenSource fork of Terraform diff --git a/opentofu.obsinfo b/opentofu.obsinfo new file mode 100644 index 0000000..840bc05 --- /dev/null +++ b/opentofu.obsinfo @@ -0,0 +1,4 @@ +name: opentofu +version: 1.6.0~alpha2 +mtime: 1696512417 +commit: 9e6bc7f86f1cbf36bc8dc079b97273fbd7909117 diff --git a/opentofu.spec b/opentofu.spec new file mode 100644 index 0000000..c76d7de --- /dev/null +++ b/opentofu.spec @@ -0,0 +1,63 @@ +# +# spec file for package opentofu +# +# Copyright (c) 2023 SUSE LLC +# +# 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/ +# + + +Name: opentofu +Version: 1.6.0~alpha2 +Release: 0 +Summary: Declaratively manage your cloud infrastructure +License: MPL-2.0 +Group: System/Management +URL: https://github.com/opentofu/opentofu +Source: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source99: opentofu-rpmlintrc +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.20 +# See: https://github.com/hashicorp/opentofu/issues/22807 +ExcludeArch: %{ix86} %{arm} + +%description +Fork of Terraform + +OpenTofu is an OSS tool for building, changing, and versioning infrastructure safely and efficiently. OpenTofu can manage existing and popular service providers as well as custom in-house solutions. + +The key features of OpenTofu are: +- Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used. +- Execution Plans: OpenTofu has a "planning" step where it generates an execution plan. The execution plan shows what OpenTofu will do when you call apply. This lets you avoid any surprises when OpenTofu manipulates infrastructure. +- Resource Graph: OpenTofu builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, OpenTofu builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure. +- Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what OpenTofu will change and in what order, avoiding many possible human errors. + +%prep +%autosetup -p 1 -a 1 + +%build +go build \ + -mod=vendor \ + -buildmode=pie \ + -o bin/%{name} ./cmd/tofu + +%install +# Install the binary. +install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}" + +%files +%license LICENSE +%doc CHANGELOG.md README.md +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..7612de6 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d955d27af06ccf4b705f15edddacc98113bfdacad6bfda7b8227d5742d2a0dd6 +size 13960240