forked from pool/velero
Accepting request 816361 from home:RBrownSUSE:velero
OBS-URL: https://build.opensuse.org/request/show/816361 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=1
This commit is contained in:
commit
b74bed7fcd
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
|
3
velero-1.3.1.tar.gz
Normal file
3
velero-1.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ff49dda812137befe0e33c130a06862d07bf5c62268ea23b0f5092d0ea144858
|
||||||
|
size 8972750
|
29
velero.changes
Normal file
29
velero.changes
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 24 05:55:22 UTC 2020 - jenting hsiao <jenting.hsiao@suse.com>
|
||||||
|
|
||||||
|
- Pass git tree status = clean to fix `velero version` output Git commit with trailing dash
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 11 02:46:41 UTC 2020 - Clark Hsu <clark.hsu@suse.com>
|
||||||
|
|
||||||
|
- Bump version 1.3.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 2 23:33:08 UTC 2020 - jenting hsiao <jenting.hsiao@suse.com>
|
||||||
|
|
||||||
|
- Bump version 1.3.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 24 06:14:57 UTC 2020 - jenting hsiao <jenting.hsiao@suse.com>
|
||||||
|
|
||||||
|
- Simplify rpm spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 3 09:13:35 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>
|
||||||
|
|
||||||
|
- fix velero-restic-restore-helper package name
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 3 09:13:20 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>
|
||||||
|
|
||||||
|
- Initial package v1.2.0
|
65
velero.spec
Normal file
65
velero.spec
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
#
|
||||||
|
# spec file for package velero and velero-restic-restore-helper
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019,2020 SUSE LLC, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define goipath github.com/vmware-tanzu/velero
|
||||||
|
%define commit 0665b05321eefeb7b7fdd6984750745b7429774f
|
||||||
|
%define gitstate clean
|
||||||
|
|
||||||
|
Name: velero
|
||||||
|
Version: 1.3.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Backup program with deduplication and encryption
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Productivity/Archiving/Backup
|
||||||
|
URL: https://velero.io
|
||||||
|
Source0: https://github.com/vmware-tanzu/velero/archive/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: golang(API) >= 1.12
|
||||||
|
|
||||||
|
%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}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%goprep %{goipath}
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
%gobuild -installsuffix "static" -ldflags "-X %{goipath}/pkg/buildinfo.Version=%{version} -X %{goipath}/pkg/buildinfo.GitSHA=%{commit} -X %{goipath}/pkg/buildinfo.GitTreeState=%{gitstate}" cmd/velero
|
||||||
|
%gobuild -installsuffix "static" -ldflags "-X %{goipath}/pkg/buildinfo.Version=%{version} -X %{goipath}/pkg/buildinfo.GitSHA=%{commit} -X %{goipath}/pkg/buildinfo.GitTreeState=%{gitstate}" cmd/velero-restic-restore-helper
|
||||||
|
|
||||||
|
%install
|
||||||
|
%goinstall
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/velero
|
||||||
|
%{_bindir}/velero-restic-restore-helper
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user