SHA256
1
0
forked from pool/restic

Accepting request 647163 from home:cyphar:restic

- Update to 0.9.3.
  https://github.com/restic/restic/releases/tag/v0.9.3
  See installed /usr/share/doc/packages/restic/CHANGELOG.md
- Update to Go 1.9, and remove Go 1.11 module files to allow building with
  pre-Go 1.11 compilers.

OBS-URL: https://build.opensuse.org/request/show/647163
OBS-URL: https://build.opensuse.org/package/show/Archiving/restic?expand=0&rev=13
This commit is contained in:
Aleksa Sarai 2018-11-08 06:05:37 +00:00 committed by Git OBS Bridge
parent 5381197fd9
commit 681a2fe2d5
6 changed files with 38 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f8eee3e9651b9f7384a323ba3c26a5667a6388ab2ef8e6d869d3cd69b9f7c95
size 27344284

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEz48Y8oRFdZc/edThkaaGi9P3qQcFAltoohsACgkQkaaGi9P3
qQcT6A//Q93suYQTyWGVSKCfFpiD+UoRH+ps/iu5wfDhvQck8vPpwneMhpt2ordb
pccrz9oFwkz14uNHDUv94Sqd3+DmRG1DwCYz5vbI0b1307F9KgMPNpgrnic/4+9C
vyhtGFDKN33F4TzAiiUkLWxLkSGOyTX3ERZ7+2XJUWzNxcWGdFNct7eWFIlUhxZ/
ciZib0h7kiAPJ+3DWk+WeAwrVXPtYsFSiCJNCvBAVl6L3u0Ry8WfDwy7H7cGBgQH
4RlKcTqaSdljH9gU9km5URK7Tmxsok09u+Z73bESvi4w09+hiwnaCgiu9UOg0/+a
GL66excsrfO+ASDrBcjj8hnVpirh32VNsnawmd8fqz5vXXFB99GuAzn0U674H8E0
58WHTFqkWJKkrM1obsTsL37OnncpufzEJKWosdTuFp1BmprHXQ3x6fR1BRoLm0/C
WHNJ2S1FoMzCEWcn0zgqIvvw74+8vVdChhExLR6W2p/UKNj5/zYAYBpnndfPgVoM
c3qOn1KFvrO39aT5hHXNHyGO9skxSdxTwG4jDeRbdlAf0qhf4fFaZrMPJvO8W0Qv
mkhqdPgxUWsfgImB730nXv9fj9o8fUKTT+lYxO0Xb81jRZmn7mYlaSKiaw9vWzdW
tubRzuZCsV5Au9v2uhjySChJzQocTkIjYVl2XRJ+KLVgWjzjJYY=
=R6tG
-----END PGP SIGNATURE-----

3
restic-0.9.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b95a258099aee9a56e620ccebcecabc246ee7f8390e3937ccedadd609c6d2dd0
size 26183792

16
restic-0.9.3.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIyBAABCAAdFiEEz48Y8oRFdZc/edThkaaGi9P3qQcFAlvB3B0ACgkQkaaGi9P3
qQeaog/422sfcohWxWeotXol9lya8M4WLhYbN7RxKMg3M9dvX3/MfISPpokIIcca
edib7TMEgmqIkZrD8xF0PQqvpYynvIyg34eXnFj+tjCjfyaa+DRzxwMCi2u3nueR
/f/X6YPB35iqZDtAIENsXhgqrtAoTIBHczgd3CTtSJcLq7a2dJo+zzkm9NTkhmla
TaaH0R01w+89YmuZcrMux+J8DzmO5w9xcyReOmSB9q5khFUEzTUXPp14vMdWKpHj
ajQuiEski7aLqak4bOHnmkzO5W3LVzLCnLj5iQUOq/p0E6GiDfYuC8qqJy8yZupL
TpeT4ru6k02DWWzpglTOAbPfFrO944KkIFX3EVD4IN3Bo40cLl04Y1YNWoIIAuqQ
coHXe8fEkm3jYQ+dOyqHTnw/RB43x5AykNYUyi+/0NpVx2EA8SDos9v2UwvABSct
zRE5wlElELvepSm1O38imNEfEEwWkvXUz/GiAXYe8BMu5vMxmhgkPZMbd0fGoLSR
cf9Ekig6heH4kS0lBdUeqJZXRualUawMAV4W7U9VpD/sGRlbaNZNcj+ivqN9r2/N
6jeIXcug00b1wwXcUIu7EBByw1djfFXCAm7GYiM+vYjIh7C8Du1osPjkb3+bbBOJ
FdqqGzqqcWUMDscZZPufq4r24t7O8cAh6XNj7BEqQpZYIpJcrw==
=dBLx
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Nov 5 08:44:53 UTC 2018 - Aleksa Sarai <asarai@suse.com>
- Update to 0.9.3.
https://github.com/restic/restic/releases/tag/v0.9.3
See installed /usr/share/doc/packages/restic/CHANGELOG.md
- Update to Go 1.9, and remove Go 1.11 module files to allow building with
pre-Go 1.11 compilers.
-------------------------------------------------------------------
Wed Aug 8 03:59:46 UTC 2018 - asarai@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nodebuginfo
@ -20,7 +20,7 @@
%define import_path github.com/restic/restic
Name: restic
Version: 0.9.2
Version: 0.9.3
Release: 0
Summary: Backup program with deduplication and encryption
License: BSD-2-Clause
@ -33,7 +33,7 @@ BuildRequires: bash-completion
BuildRequires: go
BuildRequires: golang-packaging
BuildRequires: zsh
BuildRequires: golang(API) >= 1.8
BuildRequires: golang(API) >= 1.9
%description
restic is a backup program. It supports verification, encryption,
@ -68,8 +68,13 @@ export GOPATH="$GOPATH:$HOME/go"
mkdir -p $HOME/go/src/%{import_path}
cp -rT $PWD $HOME/go/src/%{import_path}
# Build restic. We don't use build.go because it builds statically and also has
# weird golang version requirements for no good reason.
# Remove Go 1.11's go.mod, since older versions of Go support it but don't
# support using -mod=vendor which disables using it (note that go modules
# require internet access, unless you pre-load vendor/).
rm -f go.mod go.sum
# Build restic. We don't use build.go because it builds statically, and also
# restricts the Go version in cases where it's not actually necessary.
go build -o %{name} -buildmode=pie \
-ldflags "-s -w -X main.version=%{version}" \
%{import_path}/cmd/restic