forked from pool/restic
Accepting request 618639 from Archiving
OBS-URL: https://build.opensuse.org/request/show/618639 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/restic?expand=0&rev=3
This commit is contained in:
commit
56e48f312d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0cf697c88404b180d6d6ff2e7d2c27b2fcb9536da6dbdf15ad4d320af7e8f17c
|
||||
size 48746281
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEz48Y8oRFdZc/edThkaaGi9P3qQcFAlqUb70ACgkQkaaGi9P3
|
||||
qQeIbQ/8CTg5gYjTp9d0pf+ky2BvcJr1nsINtekW4Jqplm0kiybwnwleNllffra5
|
||||
1iWhpCzltgcbMrret/wF9vk0r50uLTvWugOF1GoYrZtcHEIkin3RmdoxKpo9CxRR
|
||||
XycNo2MzBSdfyCAqgcCSWTNUg5RSiKlJkRVfXr66U5agbDZ43PQzvUWlr4Bt1VUv
|
||||
Q1+J/LDaq1QmoHqwdSOfYJg4wU4BzT5pcE776uzqQ+DatQziatxxe4T+FfAZUXOv
|
||||
dOTK2dTKuA5hdTMhkoLexB0Pr2Y7AixxxSnPOG+HrZTpL9OP9dez9mHhD/HbDPT0
|
||||
p1sgPo1rTdLPpijm0Ei3F9RyRXnWDqCve081P6lwlJ4FNxZqNb8h+59bUfquDXq8
|
||||
xi2adNN6qaUYq6yQsBYbieSxZ/NIVz9BbgdVXO8WrAQ29ehIGMpA/qk8d2/07sRn
|
||||
sokjd2vB6ip4PkVWzFm6Ov6jRbarKYUY00Uc1quXjj9aVnwyazqB9Xrr4j9YGNlz
|
||||
jEQ6SyNfEldq/TtzkzosgwzA6pteR+p0LNE3P0rw/iPNO9b0b4cJkbnrjMo2e00N
|
||||
O+EgUnfR6pbWHjiCY8hPMXeDC8m3+OxQBrbIfnq2Cr3sscK69fzpNLw4UQcO9/1s
|
||||
8lZt0FyEC6M3ylWpqAA1b1eWFxELqkcz+/T4S+8BhwS9r+WDaMw=
|
||||
=58wh
|
||||
-----END PGP SIGNATURE-----
|
3
restic-0.9.1.tar.gz
Normal file
3
restic-0.9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:359d3b8e555a9952f2b98c81ee3dbec8dc441e12789c436ca564762aaacec095
|
||||
size 51056544
|
16
restic-0.9.1.tar.gz.asc
Normal file
16
restic-0.9.1.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----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-----
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 22 13:33:00 UTC 2018 - asarai@suse.com
|
||||
|
||||
- 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 - asarai@suse.com
|
||||
|
||||
- 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 - mardnh@gmx.de
|
||||
|
||||
- Add subpackages for command line completions for bash and
|
||||
zsh shells
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 1 01:11:07 UTC 2018 - asarai@suse.com
|
||||
|
||||
|
37
restic.spec
37
restic.spec
@ -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 @@ Source1: https://github.com/restic/%{name}/releases/download/v%{version}/
|
||||
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 @@ go build -o %{name} -buildmode=pie \
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user