summaryrefslogtreecommitdiffstats
path: root/cgit.spec
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2020-08-08 01:36:09 -0400
committerTodd Zullinger <tmz@pobox.com>2020-08-08 01:36:09 -0400
commit4a586edc7e44dba9f0d4ff80acbc59f04096dd1d (patch)
tree7d52a81c8410f944c5b7fd214a57e294f3664f5f /cgit.spec
parent9405618b6d73ff1ee494aa012130096d2c5912f0 (diff)
downloadcgit_EL6-4a586edc7e44dba9f0d4ff80acbc59f04096dd1d.tar.gz
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.)
Diffstat (limited to 'cgit.spec')
-rw-r--r--cgit.spec7
1 files changed, 7 insertions, 0 deletions
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 <releng@fedoraproject.org> - 1.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+* Sat Aug 08 2020 Todd Zullinger <tmz@pobox.com>
+- improve test suite's use of zstd to decode a tar file
+
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild