diff --git a/backport-zstd-1.5.0-patch-3-remove-invalid-test.patch b/backport-zstd-1.5.0-patch-3-remove-invalid-test.patch new file mode 100644 index 0000000000000000000000000000000000000000..76a6009f50efc0e3400c30237dff24206970d468 --- /dev/null +++ b/backport-zstd-1.5.0-patch-3-remove-invalid-test.patch @@ -0,0 +1,13 @@ +--- zstd-1.5.0/build/meson/tests/meson.build 2021-05-14 22:59:34.000000000 +0800 ++++ zstd.bak/build/meson/tests/meson.build 2021-11-08 17:12:17.225379241 +0800 +@@ -186,10 +186,6 @@ + zstreamtest, + args: ['-v', ZSTREAM_TESTTIME] + FUZZER_FLAGS, + timeout: 240) +-test('test-zstream-2', +- zstreamtest, +- args: ['-mt', '-t1', ZSTREAM_TESTTIME] + FUZZER_FLAGS, +- timeout: 120) + test('test-zstream-3', + zstreamtest, + args: ['--newapi', '-t1', ZSTREAM_TESTTIME] + FUZZER_FLAGS, diff --git a/zstd.spec b/zstd.spec index c6da437e33544727493a9ab05384a3437e453490..69e3d96d96492b98d5188ca578533fe6b73ef4d8 100644 --- a/zstd.spec +++ b/zstd.spec @@ -2,7 +2,7 @@ Name: zstd Version: 1.5.0 -Release: 3 +Release: 5 Summary: A fast lossless compression algorithm License: BSD and GPLv2 URL: https://github.com/facebook/zstd @@ -10,6 +10,7 @@ Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{ Patch1: backport-zstd-1.5.0-patch-1-set-mtime-on-output-files.patch Patch2: backport-zstd-1.5.0-patch-2-add-tests-set-mtime-on-output-files.patch +Patch3: backport-zstd-1.5.0-patch-3-remove-invalid-test.patch BuildRequires: gtest-devel gcc-c++ pkg-config Provides: libzstd @@ -50,9 +51,7 @@ done %endif %check -%ifarch %{arm} make -C tests test-zstd -%endif %if %{with pzstd} make -C contrib/pzstd test CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" %endif @@ -89,6 +88,12 @@ install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1 %{_mandir}/man1/*.1* %changelog +* Mon Nov 15 2121 zhangxiao - 1.5.0.5 +* modify the ci build test to only on the arm environment + +* Mon Nov 08 2021 zhangying - 1.5.0-4 +* remove invalid test + * Wed Nov 03 2021 zhangxiao - 1.5.0-3 * add tests - solve the modification time is set to the compression time