From 5d7e44ca7b6f945baaa92a40faca3c561a9dcd3e15ef512cc2bc100fd4df30b0 Mon Sep 17 00:00:00 2001
From: Aleksa Sarai <asarai@suse.com>
Date: Tue, 23 Apr 2019 15:00:06 +0000
Subject: [PATCH] Accepting request 697209 from home:cyphar:restic

- Update to 0.9.5.
  https://github.com/restic/restic/releases/tag/v0.9.5
  See installed /usr/share/doc/packages/restic/CHANGELOG.md. Short-log:
  Fixes:
  * Return error when no bytes could be read from stdin
  * Don't cancel timeout after 30 seconds for self-update
  * Fix reading passwords from stdin
  * Don't abort the find command when a tree can't be loaded
  Enhancements:
  + Add case insensitive include & exclude options
  + Support streaming JSON output for backup
  + Add Openstack application credential auth for Swift
  + Add --json support to forget command
  + Add group-by option to snapshots command
  + Ability to dump folders to tar via stdout
  + Return error if no bytes could be read for backup --stdin
  + Add --ignore-inode option to backup cmd
  + Add config option to set S3 storage class

OBS-URL: https://build.opensuse.org/request/show/697209
OBS-URL: https://build.opensuse.org/package/show/Archiving/restic?expand=0&rev=19
---
 restic-0.9.4.tar.gz     |  3 ---
 restic-0.9.4.tar.gz.asc | 16 ----------------
 restic-0.9.5.tar.gz     |  3 +++
 restic-0.9.5.tar.gz.asc | 16 ++++++++++++++++
 restic.changes          | 22 ++++++++++++++++++++++
 restic.spec             | 10 +++++-----
 6 files changed, 46 insertions(+), 24 deletions(-)
 delete mode 100644 restic-0.9.4.tar.gz
 delete mode 100644 restic-0.9.4.tar.gz.asc
 create mode 100644 restic-0.9.5.tar.gz
 create mode 100644 restic-0.9.5.tar.gz.asc

diff --git a/restic-0.9.4.tar.gz b/restic-0.9.4.tar.gz
deleted file mode 100644
index 26acb19..0000000
--- a/restic-0.9.4.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c7dca90fb6fd83cee8b9f6a2776f5839794341af1953d251bf06a91870be7a8e
-size 26211163
diff --git a/restic-0.9.4.tar.gz.asc b/restic-0.9.4.tar.gz.asc
deleted file mode 100644
index 4fa5136..0000000
--- a/restic-0.9.4.tar.gz.asc
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCAAdFiEEz48Y8oRFdZc/edThkaaGi9P3qQcFAlwyaFkACgkQkaaGi9P3
-qQd+WQ//SW6/wGwEobiZ3TuV+wcv8stXFW30LoH92dUaVTK2+oxU4wy3nzLGdRuQ
-FPDfuisZY9XRe/J0ZmVLoawJu/pMFsduTfwhGYeZlfnsrYKITGJMjzPF23vW+5i/
-KWuXgQ8IuYoAr8lLQhw2HIxTfsF8WdQqP19mryO6OYSDuFv9VGb6nHr43kEk0Mci
-ftE69DDU6zePuWx8ZVcmQH4F9NQqI3lOUYiMAk/a4bxrYr/A6NC3pbhZBUCX+XU4
-UEgFETcGFOk1d7SZrRHfUCGjFytKs/rzKyNVrSDtxXhXAMSK8K4Hjp6U1BFAqeP8
-96xmuTFjeem0h+LcM23YjJp2olQMpfQ7EEwOqq/cygz9v9pTzZX6EGoq+DqdWKaw
-OfqjlK/zy68/5oSVMTU4OJjhrWoytV37DM7oNLfAYsCpW0vJKuSt4jkgqiihfbIs
-TClhLCMCC53Knlg6xKDU2VTih3Qr6aOQglEtPGAgqEbHlZzgVCTL3iUgViRmirW/
-VtCjlLb0TpIlcG+TD3Y76nv7R6HbN8PBimrN9wrN2GcIVTtJg1nTITiiuRUNBSdo
-ZMMZ77njKt/sETZgpOeIhIHUnyUDVXG0ULSwfCGdu7fhCAriKVqv+06E9CcR3XeY
-ztb0fGweZ+WxIdnVdl9u1wRaMP7eNvMqZ7dr/HqUFpN9VqLyXac=
-=vyaP
------END PGP SIGNATURE-----
diff --git a/restic-0.9.5.tar.gz b/restic-0.9.5.tar.gz
new file mode 100644
index 0000000..7b444e2
--- /dev/null
+++ b/restic-0.9.5.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e22208e946ede07f56ef60c1c89de817b453967663ce4867628dff77761bd429
+size 26933971
diff --git a/restic-0.9.5.tar.gz.asc b/restic-0.9.5.tar.gz.asc
new file mode 100644
index 0000000..e648e7a
--- /dev/null
+++ b/restic-0.9.5.tar.gz.asc
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCAAdFiEEz48Y8oRFdZc/edThkaaGi9P3qQcFAly+9ZMACgkQkaaGi9P3
+qQemgRAAvj7rALzg9pq9vU/o/ViB72BSn3ZWa5o5ilaFPFZGHkFBYBZ+qNRjRWJG
+s5B6paAIRj5OorTWdUQRKe0xzymFaI5VwbGC76qVTDORU/r9acseIHzKSE6ggpSU
+JeI2y3pM1M5u9K3ge8cwCBlYPGKrUtLo5+4HBLdmyuNefoYtstqwE/Bk8uY+yDu/
+sf6B6fy1q5T6ZMF5KsnSbU3BuZ7vkSHxUzuvTYZYIa4qZ0aN4jjJorvR69PUY9hW
+WuSaB83bnMRU7R/xfuTsk3uddtHCDQnWMwRHSl4DCzWDp33kE2A3hG270AzM7l5x
+O2gsWeMbRaul0EFnZUCkK/Xxdu3Q9PzdxbKxg/TxlMylW78NbOg8MZ8LrVuOa5+Q
+FFs2QyltlAfHiQGV47PQZfm0qCIE7pSRxGO7kkMgw86XB3fvdTjjWHqi4X5rumSs
+M6rzlHir16wXzq/4VBv3AmuN7lcAw/1TQWySZzw6Dot6r8+NTxQlPYtiRl7dgRBJ
+yP3T8SWhfIa1BE4Los1bleAH0dTHlrzL4U1W+ATj73B6OFLZx0I1GHRa5bciniwl
+dqwOIinz6blGSLmcP2DdnYB7uKfefXBX0sUFyaug191eWq0zB4uR2XYid/S81ZQF
+FWDR7bzRB+eMtN7fbVFaaPB9ZLtiv9B/wKApj3FZB3OrGO2QTY0=
+=yUU+
+-----END PGP SIGNATURE-----
diff --git a/restic.changes b/restic.changes
index 0a8fd43..575becd 100644
--- a/restic.changes
+++ b/restic.changes
@@ -1,3 +1,25 @@
+-------------------------------------------------------------------
+Tue Apr 23 14:54:52 UTC 2019 - Aleksa Sarai <asarai@suse.com>
+
+- Update to 0.9.5.
+  https://github.com/restic/restic/releases/tag/v0.9.5
+  See installed /usr/share/doc/packages/restic/CHANGELOG.md. Short-log:
+  Fixes:
+  * Return error when no bytes could be read from stdin
+  * Don't cancel timeout after 30 seconds for self-update
+  * Fix reading passwords from stdin
+  * Don't abort the find command when a tree can't be loaded
+  Enhancements:
+  + Add case insensitive include & exclude options
+  + Support streaming JSON output for backup
+  + Add Openstack application credential auth for Swift
+  + Add --json support to forget command
+  + Add group-by option to snapshots command
+  + Ability to dump folders to tar via stdout
+  + Return error if no bytes could be read for backup --stdin
+  + Add --ignore-inode option to backup cmd
+  + Add config option to set S3 storage class
+
 -------------------------------------------------------------------
 Mon Jan  7 14:01:58 UTC 2019 - Aleksa Sarai <asarai@suse.com>
 
diff --git a/restic.spec b/restic.spec
index 610b729..df517e4 100644
--- a/restic.spec
+++ b/restic.spec
@@ -20,20 +20,20 @@
 %define import_path github.com/restic/restic
 
 Name:           restic
-Version:        0.9.4
+Version:        0.9.5
 Release:        0
 Summary:        Backup program with deduplication and encryption
 License:        BSD-2-Clause
 Group:          Productivity/Archiving/Backup
-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
+Url:            https://restic.net
+Source0:        https://github.com/restic/restic/releases/download/v%{version}/%{name}-%{version}.tar.gz
+Source1:        https://github.com/restic/restic/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
 Source2:        %{name}.keyring
 BuildRequires:  bash-completion
 BuildRequires:  go
 BuildRequires:  golang-packaging
 BuildRequires:  zsh
-BuildRequires:  golang(API) >= 1.9
+BuildRequires:  golang(API) >= 1.10
 
 %description
 restic is a backup program. It supports verification, encryption,