From 0e4a3d3eefe915453fb73996744b2d64fce56e9b Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Tue, 28 May 2024 10:27:47 +0800 Subject: [PATCH] add patch description (cherry picked from commit 19545426993c84676f0c9427dd0d7efa22ecc15d) --- fix-test-case-failure.patch | 7 ++++++- perl-IO-Compress.spec | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fix-test-case-failure.patch b/fix-test-case-failure.patch index d42b7bb..5113261 100644 --- a/fix-test-case-failure.patch +++ b/fix-test-case-failure.patch @@ -1,7 +1,12 @@ From bd25cda1ae716cda021f1a5936462ba4ed666b40 Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Fri, 24 May 2024 10:39:00 +0800 -Subject: [PATCH] fix test case failures +Subject: [PATCH] fix test case failure + +The patching of zlib in openEuler with upstream bug fixes aligns its functionality with newer versions of zlib. However, the version number of zlib within openEuler remains unchanged, indicating the older version. Consequently, the test cases for perl-IO-Compress, which rely on the zlib version number to determine expected outcomes, will fail. To address this, perl-IO-Compress must be updated to accommodate the changes in zlib and remove the versioning-based checks from its test suite. + +This bugfix commit for zlib in openEuler resulted in a change in its function behavior: +https://gitee.com/src-openeuler/zlib/pulls/46 --- t/cz-03zlib-v1.t | 9 +-------- diff --git a/perl-IO-Compress.spec b/perl-IO-Compress.spec index 9882782..3f71559 100644 --- a/perl-IO-Compress.spec +++ b/perl-IO-Compress.spec @@ -7,7 +7,7 @@ Name: perl-IO-Compress Version: 2.201 -Release: 2 +Release: 3 Summary: Read and write compressed data License: GPL+ or Artistic URL: https://metacpan.org/release/IO-Compress @@ -113,6 +113,9 @@ make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1 %{_mandir}/man3/IO::Uncompress::*.3* %changelog +* Tue May 28 2024 dongyuzhen - 2.201-3 +- add patch description + * Fri May 24 2024 dongyuzhen - 2.201-2 - fix test case failure -- Gitee