update to 1.14.1
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=50
This commit is contained in:
commit
3df55edb26
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
|
22
_service
Normal file
22
_service
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/vmware-tanzu/velero</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="revision">v1.14.1</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual">
|
||||||
|
</service>
|
||||||
|
<service name="go_modules" mode="manual">
|
||||||
|
</service>
|
||||||
|
<!-- services below are running at buildtime -->
|
||||||
|
<service name="tar" mode="buildtime">
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/vmware-tanzu/velero</param>
|
||||||
|
<param name="changesrevision">8afe3cea8b7058f7baaf447b9fb407312c40d2da</param></service></servicedata>
|
3
velero-1.14.0.obscpio
Normal file
3
velero-1.14.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7c1a30f6600bbad405979584f6c74c1667aa201de59e0f24e6fe0eb4d8410d32
|
||||||
|
size 52886030
|
3
velero-1.14.0.tar.gz
Normal file
3
velero-1.14.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b1a93db23aed53074ab1002466ad2ed65ab17aa4f746fc3c7a9bba28b0abc5be
|
||||||
|
size 33760708
|
3
velero-1.14.1.obscpio
Normal file
3
velero-1.14.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:626826f34f341f26eb4c0a75e2fc6159a951c1c1d92e81afd24a3d89940e913e
|
||||||
|
size 52891662
|
1583
velero.changes
Normal file
1583
velero.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
velero.obsinfo
Normal file
4
velero.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: velero
|
||||||
|
version: 1.14.1
|
||||||
|
mtime: 1724118663
|
||||||
|
commit: 8afe3cea8b7058f7baaf447b9fb407312c40d2da
|
124
velero.spec
Normal file
124
velero.spec
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
#
|
||||||
|
# spec file for package velero
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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: velero
|
||||||
|
Version: 1.14.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Backup program with deduplication and encryption
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Productivity/Archiving/Backup
|
||||||
|
URL: https://velero.io
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.gz
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: golang(API) = 1.22
|
||||||
|
|
||||||
|
%description
|
||||||
|
velero is a backup program. It supports verification, encryption,
|
||||||
|
snapshots and deduplication.
|
||||||
|
|
||||||
|
%package velero-restic-restore-helper
|
||||||
|
Summary: Restic restore helper for %{name}
|
||||||
|
Group: Productivity/Archiving/Backup
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Supplements: packageand(velero:velero-restic-restore-helper)
|
||||||
|
|
||||||
|
%description velero-restic-restore-helper
|
||||||
|
Restic restore helper for %{name}.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash Completion for %{name}
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Supplements: (%{name} and bash-completion)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
Bash command line completion support for %{name}.
|
||||||
|
|
||||||
|
%package zsh-completion
|
||||||
|
Summary: Zsh Completion for %{name}
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Supplements: (%{name} and zsh)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description zsh-completion
|
||||||
|
Zsh command line completion support for %{name}.
|
||||||
|
|
||||||
|
%package fish-completion
|
||||||
|
Summary: Fish Completion for %{name}
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Supplements: (%{name} and fish)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description fish-completion
|
||||||
|
Fish command line completion support for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -a1
|
||||||
|
|
||||||
|
%build
|
||||||
|
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
|
||||||
|
|
||||||
|
go build \
|
||||||
|
-installsuffix "static" \
|
||||||
|
-mod=vendor \
|
||||||
|
-buildmode=pie \
|
||||||
|
-ldflags=" \
|
||||||
|
-X github.com/vmware-tanzu/%{name}/pkg/buildinfo.Version=v%{version} \
|
||||||
|
-X github.com/vmware-tanzu/%{name}/pkg/buildinfo.GitSHA=${COMMIT_HASH} \
|
||||||
|
-X github.com/vmware-tanzu/%{name}/pkg/buildinfo.GitTreeState=clean" \
|
||||||
|
-o bin/%{name} ./cmd/%{name}
|
||||||
|
|
||||||
|
%install
|
||||||
|
# Install the binary.
|
||||||
|
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
|
||||||
|
|
||||||
|
# create the bash completion file
|
||||||
|
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
||||||
|
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
|
# create the zsh completion file
|
||||||
|
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
|
||||||
|
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
|
||||||
|
|
||||||
|
# create the fish completion file
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
|
||||||
|
%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datarootdir}/bash-completion/completions/
|
||||||
|
%{_datarootdir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
|
%files zsh-completion
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datarootdir}/zsh_completion.d/
|
||||||
|
%{_datarootdir}/zsh_completion.d/_%{name}
|
||||||
|
|
||||||
|
%files fish-completion
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datarootdir}/fish
|
||||||
|
%dir %{_datarootdir}/fish/vendor_completions.d
|
||||||
|
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||||
|
|
||||||
|
%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:ef7bf5f1bc7a8759b4eccb5d9f4893a7413357e8f88b874c12ef80655b19ebcd
|
||||||
|
size 15266132
|
Loading…
x
Reference in New Issue
Block a user