From d3d4f116215ad1bfd50c89b1e776b3afd73d7fd8 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Jun 04 2019 07:44:36 +0000 Subject: declare bundled xxHash --- diff --git a/borgbackup.spec b/borgbackup.spec index 1bef9c9..6e57ed1 100644 --- a/borgbackup.spec +++ b/borgbackup.spec @@ -12,9 +12,9 @@ Release: 1%{?dist} Summary: A deduplicating backup program with compression and authenticated encryption %if %bundle_msgpack -License: BSD and ASL 2.0 +License: BSD and ASL 2.0 and zlib %else -License: BSD +License: BSD and zlib %endif URL: https://borgbackup.readthedocs.org @@ -63,6 +63,15 @@ Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-llfuse Requires: fuse +# xxHash: https://github.com/Cyan4973/xxHash +# license: 2-clause BSD (Fedora: BSD, SPDX: BSD-2-Clause) +# code was stripped a bit to only contain 64-bit functionality +# upstream justification for bundling: +# https://github.com/borgbackup/borg/pull/2580#issuecomment-305579398 +# upstream won't unbundle this for v1.1.x: +# https://github.com/borgbackup/borg/issues/4592#issuecomment-495951573 +Provides: bundled(xxHash) = 0.6.2 + %description BorgBackup (short: Borg) is a deduplicating backup program. Optionally, it supports compression and authenticated encryption. @@ -162,7 +171,9 @@ py.test-3 -x -vk "$TEST_SELECTOR" $PYTHONPATH/borg/testsuite/*.py %{_mandir}/man1/* %{python3_sitearch}/* -# files in %{python3_sitearch}/borg/algorithms/msgpack are licensed under the ASL +# - files in %%{python3_sitearch}/borg/algorithms/msgpack are licensed under the ASL +# - %%{python3_sitearch}/borg/algorithms/checksums.*.so contains code licensed +# under the zlib license %{_bindir}/borg %{_bindir}/borgfs %{_prefix}/share/bash-completion/completions/*