!26 add patch description

From: @dongyuzhen 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2024-05-28 02:51:00 +00:00 committed by Gitee
commit 590fcb0bbf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,12 @@
From bd25cda1ae716cda021f1a5936462ba4ed666b40 Mon Sep 17 00:00:00 2001 From bd25cda1ae716cda021f1a5936462ba4ed666b40 Mon Sep 17 00:00:00 2001
From: dongyuzhen <dongyuzhen@h-partners.com> From: dongyuzhen <dongyuzhen@h-partners.com>
Date: Fri, 24 May 2024 10:39:00 +0800 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 +-------- t/cz-03zlib-v1.t | 9 +--------

View File

@ -7,7 +7,7 @@
Name: perl-IO-Compress Name: perl-IO-Compress
Version: 2.201 Version: 2.201
Release: 2 Release: 3
Summary: Read and write compressed data Summary: Read and write compressed data
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/IO-Compress 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* %{_mandir}/man3/IO::Uncompress::*.3*
%changelog %changelog
* Tue May 28 2024 dongyuzhen <dongyuzhen@h-partners.com> - 2.201-3
- add patch description
* Fri May 24 2024 dongyuzhen <dongyuzhen@h-partners.com> - 2.201-2 * Fri May 24 2024 dongyuzhen <dongyuzhen@h-partners.com> - 2.201-2
- fix test case failure - fix test case failure