SHA256
1
0
forked from pool/restic

Accepting request 618508 from home:cyphar:restic

- Update to 0.9.1.
  https://github.com/restic/restic/releases/tag/v0.9.1
  See installed /usr/share/doc/packages/restic/CHANGELOG.md
- Switch to building with the new "go" metapkg.
- Switch to new %license macro.
- Fix up restic-*-completion subpackages to use Supplements (to avoid
  installing shells on people's machines when they don't expect it).

OBS-URL: https://build.opensuse.org/request/show/618508
OBS-URL: https://build.opensuse.org/package/show/Archiving/restic?expand=0&rev=7
This commit is contained in:
2018-06-23 07:48:45 +00:00
committed by Git OBS Bridge
parent 75067f00e1
commit 6a43338461
6 changed files with 40 additions and 23 deletions

View File

@@ -20,7 +20,7 @@
%define import_path github.com/restic/restic
Name: restic
Version: 0.8.3
Version: 0.9.1
Release: 0
Summary: Fast, secure, efficient backup program
License: BSD-2-Clause
@@ -32,10 +32,9 @@ 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.6
Recommends: %{name}-bash-completion
%description
restic is a backup program that is fast, efficient and secure.
@@ -44,6 +43,7 @@ restic is a backup program that is fast, efficient and secure.
Summary: Bash Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Supplements: packageand(restic:bash-completion)
BuildArch: noarch
%description bash-completion
@@ -53,6 +53,7 @@ Bash command line completion support for %{name}.
Summary: Zsh Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Supplements: packageand(restic:zsh)
BuildArch: noarch
%description zsh-completion
@@ -83,8 +84,9 @@ install -Dm0644 doc/zsh-completion.zsh %{buildroot}%{_sysconfdir}/zsh_completion
%files
%defattr(-,root,root)
%doc *.md *.rst LICENSE
%doc *.md *.rst
%doc doc/
%license LICENSE
%{_bindir}/restic
%{_mandir}/man1/restic*.1*