diff --git a/restic-0.9.1.tar.gz b/restic-0.9.1.tar.gz deleted file mode 100644 index ee712c7..0000000 --- a/restic-0.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:359d3b8e555a9952f2b98c81ee3dbec8dc441e12789c436ca564762aaacec095 -size 51056544 diff --git a/restic-0.9.1.tar.gz.asc b/restic-0.9.1.tar.gz.asc deleted file mode 100644 index b92aa0c..0000000 --- a/restic-0.9.1.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEz48Y8oRFdZc/edThkaaGi9P3qQcFAlsc8HMACgkQkaaGi9P3 -qQeUSQ//ZjcIa43rB9UnRB/dAAiC24hajHEwifOBQhydTcEW8qpZVgJRvO5HsZvG -k7D6Y0sHRcsXiTgSrHHvgvxsrJqoGxrWQyw76bs77EBCq+Mt1SrlUsnkSx9SEjlD -OAwSgTPE8zcxdcrd4vMQB3iLF7bJhfvPrpTiGdaSDO4BgKmGbytZwhyHaStJ/EJi -FCNQ78WSrYQiX5HbxNRw23ILcduRM5UNZly0EcSgu87A41TMMQNES/KKPN9w6QC2 -Zkq9pCXRbZc3KKlKim+Orejz+3hhAOi+ZdI5YjHtVfPOv3jSAFybPq3AOVIIgIdZ -tJRajPzYQW/FlIDqcCzUeKDKxjwdmikbGMZzlldDg0ZvFodwEz723iLiL7uK1CMM -CWqFPkOKc//2IvhInBwJxcNFOdu/MsPbAqYN7ReZFP8VR/iVn2AKGOb88SEazxlB -/lW8qC4ivZMYKYh4fasZIiCKuztQ6iqD1ugyiXXtVyx7p4MKXs1tbLkXLP+Il1Ii -Y8MxtiQd/IU8gBnQ/a+YM2B2SphCfupWo4GJl8okFkQVQP1dudTqN1nMuNHhU15Y -b8AXL6yC5l9/DUks9MEE+g9qsYu6TdMAci1efBvek0bmNiC4DrtCl0X2jKwDkAN+ -5OCw+KEK6CuPIhzST1uOhLAmGueZ+d6IhbE75Xlr6rYAATrbqoI= -=zFmW ------END PGP SIGNATURE----- diff --git a/restic-0.9.2.tar.gz b/restic-0.9.2.tar.gz new file mode 100644 index 0000000..e588b9f --- /dev/null +++ b/restic-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f8eee3e9651b9f7384a323ba3c26a5667a6388ab2ef8e6d869d3cd69b9f7c95 +size 27344284 diff --git a/restic-0.9.2.tar.gz.asc b/restic-0.9.2.tar.gz.asc new file mode 100644 index 0000000..181551c --- /dev/null +++ b/restic-0.9.2.tar.gz.asc @@ -0,0 +1,16 @@ +-----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----- diff --git a/restic-switch-to-pre-1.8-sort.Stable-API.patch b/restic-switch-to-pre-1.8-sort.Stable-API.patch deleted file mode 100644 index 9007927..0000000 --- a/restic-switch-to-pre-1.8-sort.Stable-API.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 5d18f341c3191f7e472faa2659a9c973629a31a5 Mon Sep 17 00:00:00 2001 -From: Aleksa Sarai -Date: Sun, 14 Jan 2018 03:31:07 +1100 -Subject: [PATCH] restic: switch to pre-1.8 sort.Stable API - -This allows us to build restic with older Go versions. It's a bit odd -they decided to implement things this way, given that the old -sort.Interface code still exists in the repo... - -Signed-off-by: Aleksa Sarai ---- - cmd/restic/cmd_snapshots.go | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -diff --git a/cmd/restic/cmd_snapshots.go b/cmd/restic/cmd_snapshots.go -index 5dfb45e9729e..9acf8c0a9d44 100644 ---- a/cmd/restic/cmd_snapshots.go -+++ b/cmd/restic/cmd_snapshots.go -@@ -106,9 +106,7 @@ func newFilterLastSnapshotsKey(sn *restic.Snapshot) filterLastSnapshotsKey { - // they will be joined and treated as one item. - func FilterLastSnapshots(list restic.Snapshots) restic.Snapshots { - // Sort the snapshots so that the newer ones are listed first -- sort.SliceStable(list, func(i, j int) bool { -- return list[i].Time.After(list[j].Time) -- }) -+ sort.Stable(list) - - var results restic.Snapshots - seen := make(map[filterLastSnapshotsKey]bool) -@@ -124,11 +122,8 @@ func FilterLastSnapshots(list restic.Snapshots) restic.Snapshots { - - // PrintSnapshots prints a text table of the snapshots in list to stdout. - func PrintSnapshots(stdout io.Writer, list restic.Snapshots, compact bool) { -- -- // always sort the snapshots so that the newer ones are listed last -- sort.SliceStable(list, func(i, j int) bool { -- return list[i].Time.Before(list[j].Time) -- }) -+ // Always sort the snapshots so that the newer ones are listed last -+ sort.Stable(sort.Reverse(list)) - - // Determine the max widths for host and tag. - maxHost, maxTag := 10, 6 --- -2.15.1 - diff --git a/restic.changes b/restic.changes index deecf3d..82b031f 100644 --- a/restic.changes +++ b/restic.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Aug 8 03:59:46 UTC 2018 - asarai@suse.com + +- Update to 0.9.2. + https://github.com/restic/restic/releases/tag/v0.9.2 + See installed /usr/share/doc/packages/restic/CHANGELOG.md +- Remove Go 1.8 compatibility patch, now that we have newer Go versions in + older Leap releases. + - restic-switch-to-pre-1.8-sort.Stable-API.patch + ------------------------------------------------------------------- Sat Jul 28 18:27:51 UTC 2018 - jengelh@inai.de diff --git a/restic.spec b/restic.spec index f214020..99f10f1 100644 --- a/restic.spec +++ b/restic.spec @@ -20,7 +20,7 @@ %define import_path github.com/restic/restic Name: restic -Version: 0.9.1 +Version: 0.9.2 Release: 0 Summary: Backup program with deduplication and encryption License: BSD-2-Clause @@ -29,12 +29,11 @@ Url: https://restic.net/ Source0: https://github.com/restic/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/restic/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring -# PATCH-FIX-OPENSUSE: Revert to using pre-1.8 Go APIs so we can build on Leap 42.x. -Patch1: restic-switch-to-pre-1.8-sort.Stable-API.patch BuildRequires: bash-completion BuildRequires: go BuildRequires: golang-packaging BuildRequires: zsh +BuildRequires: golang(API) >= 1.8 %description restic is a backup program. It supports verification, encryption, @@ -62,7 +61,6 @@ Zsh command line completion support for %{name}. %prep %setup -q -%patch1 -p1 %build # Set up GOPATH.