From 4a586edc7e44dba9f0d4ff80acbc59f04096dd1d Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 8 Aug 2020 01:36:09 -0400 Subject: improve test suite's use of zstd to decode a tar file The tar --zstd option was added in GNU tar-1.32 (2019-02-23). Supported EPEL releases lack support for this option. Avoid the requirement on any specific implementations or versions of tar by piping decompressed output to tar. This is compatible with older GNU tar releases as well as tar implementations from other vendors. (It may also be a slight benefit that this more closely matches what the snapshot creation code does.) --- cgit.spec | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cgit.spec') diff --git a/cgit.spec b/cgit.spec index 20bca16..4f84548 100644 --- a/cgit.spec +++ b/cgit.spec @@ -71,6 +71,10 @@ Source93: https://www.kernel.org/pub/software/scm/git/git-%{gitver}.tar.s # All supported releases use highlight version 3. Patch0: cgit-0.9.1-highlightv3.patch +# Improve test suite's support for older tar versions +# https://lists.zx2c4.com/pipermail/cgit/2020-August/004513.html +Patch1: 0001-t0107-support-older-and-or-non-GNU-tar.patch + # Security guys might try to repoquery for this. Provides: bundled(git) = %gitver @@ -227,6 +231,9 @@ make test * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild +* Sat Aug 08 2020 Todd Zullinger +- improve test suite's use of zstd to decode a tar file + * Mon Jul 27 2020 Fedora Release Engineering - 1.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild -- cgit