Hello community, here is the log from the commit of package restic for openSUSE:Factory checked in at 2018-06-25 11:42:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/restic (Old) and /work/SRC/openSUSE:Factory/.restic.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "restic" Mon Jun 25 11:42:00 2018 rev:3 rq:618639 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/restic/restic.changes 2018-03-01 12:08:24.336812734 +0100 +++ /work/SRC/openSUSE:Factory/.restic.new/restic.changes 2018-06-25 11:42:19.797638194 +0200 @@ -1,0 +2,21 @@ +Fri Jun 22 13:33:00 UTC 2018 - [email protected] + +- 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. + +------------------------------------------------------------------- +Fri Jun 22 13:29:22 UTC 2018 - [email protected] + +- Fix up restic-*-completion subpackages to use Supplements (to avoid + installing shells on people's machines when they don't expect it). + +------------------------------------------------------------------- +Thu Jun 21 21:00:07 UTC 2018 - [email protected] + +- Add subpackages for command line completions for bash and + zsh shells + +------------------------------------------------------------------- Old: ---- restic-0.8.3.tar.gz restic-0.8.3.tar.gz.asc New: ---- restic-0.9.1.tar.gz restic-0.9.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ restic.spec ++++++ --- /var/tmp/diff_new_pack.7dFqk6/_old 2018-06-25 11:42:22.617534193 +0200 +++ /var/tmp/diff_new_pack.7dFqk6/_new 2018-06-25 11:42:22.621534046 +0200 @@ -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 @@ -31,12 +31,34 @@ 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: golang(API) >= 1.6 +BuildRequires: zsh %description restic is a backup program that is fast, efficient and secure. +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: packageand(restic:bash-completion) +BuildArch: noarch + +%description bash-completion +Bash command line completion support for %{name}. + +%package zsh-completion +Summary: Zsh Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: packageand(restic:zsh) +BuildArch: noarch + +%description zsh-completion +Zsh command line completion support for %{name}. + %prep %setup -q %patch1 -p1 @@ -57,12 +79,21 @@ install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name} install -d %{buildroot}%{_mandir}/man1 ./%{name} generate --man %{buildroot}%{_mandir}/man1 +install -Dm0644 doc/bash-completion.sh %{buildroot}%{_datadir}/bash-completion/completions/%{name} +install -Dm0644 doc/zsh-completion.zsh %{buildroot}%{_sysconfdir}/zsh_completion.d/%{name} %files %defattr(-,root,root) -%doc *.md *.rst LICENSE +%doc *.md *.rst %doc doc/ +%license LICENSE %{_bindir}/restic %{_mandir}/man1/restic*.1* +%files bash-completion +%{_datadir}/bash-completion/completions/%{name} + +%files zsh-completion +%config %{_sysconfdir}/zsh_completion.d/%{name} + %changelog ++++++ restic-0.8.3.tar.gz -> restic-0.9.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/restic/restic-0.8.3.tar.gz /work/SRC/openSUSE:Factory/.restic.new/restic-0.9.1.tar.gz differ: char 16, line 1
