forked from pool/opentofu
baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:opentofu/opentofu?expand=0&rev=3
This commit is contained in:
commit
e8a4d35a55
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/opentofu/opentofu/</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v1.6.0-alpha2</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)-(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1~\2</param>
|
||||
<param name="exclude">.git</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
</services>
|
3
opentofu-1.6.0~alpha2.obscpio
Normal file
3
opentofu-1.6.0~alpha2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47a7aa5b88a83251941faf510777bce8adad6fff5f6cead73d2bd7cceba3432b
|
||||
size 17465869
|
2
opentofu-rpmlintrc
Normal file
2
opentofu-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
addFilter (".*W: no-manual-page-for-binary.*")
|
||||
addFilter (".*W: position-independent-executable-suggested /usr/bin/terraform")
|
4
opentofu.changes
Normal file
4
opentofu.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 6 13:23:54 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- new package opentofu: OpenSource fork of Terraform
|
4
opentofu.obsinfo
Normal file
4
opentofu.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: opentofu
|
||||
version: 1.6.0~alpha2
|
||||
mtime: 1696512417
|
||||
commit: 9e6bc7f86f1cbf36bc8dc079b97273fbd7909117
|
63
opentofu.spec
Normal file
63
opentofu.spec
Normal file
@ -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
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d955d27af06ccf4b705f15edddacc98113bfdacad6bfda7b8227d5742d2a0dd6
|
||||
size 13960240
|
Loading…
Reference in New Issue
Block a user