diff --git a/fix-test-case-failure.patch b/fix-test-case-failure.patch index d42b7bb2960affe6a4b80980ab762c34ad810d4a..5113261146e8223476783f0afbc31a406eb76f20 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 9882782001ef943857090f12cd033a1853d4c040..3f715599c81bec2315f6a6c83260f86540d3b36d 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