add patch description

This commit is contained in:
dongyuzhen 2024-05-28 10:27:47 +08:00
parent 9fb86aaea0
commit 1954542699
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: dongyuzhen <dongyuzhen@h-partners.com>
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 +--------

View File

@ -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 <dongyuzhen@h-partners.com> - 2.201-3
- add patch description
* Fri May 24 2024 dongyuzhen <dongyuzhen@h-partners.com> - 2.201-2
- fix test case failure