Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
35bdc1449d
!30 [sync] PR-26: add patch description
From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2024-05-28 06:18:45 +00:00
dongyuzhen
0e4a3d3eef add patch description
(cherry picked from commit 19545426993c84676f0c9427dd0d7efa22ecc15d)
2024-05-28 11:45:59 +08:00
openeuler-ci-bot
ceabb763e6
!24 [sync] PR-20: fix test case failure caused by zlib
From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2024-05-28 03:42:53 +00:00
dongyuzhen
5ec3cae8dd fix test case failure
(cherry picked from commit e4682ce0c911bfdb607eecdb7bddf6498d9a34d0)
2024-05-24 17:03:36 +08:00
openeuler-ci-bot
4764cab4f6
!17 upgrade version to 2.201
From: @dongyuzhen 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2022-11-02 03:24:03 +00:00
dongyuzhen
6b20ca5b39 upgrade version to 2.201 2022-11-02 09:48:15 +08:00
openeuler-ci-bot
5cb583463f
!9 skip long tests for check
Merge pull request !9 from tianwei/openEuler-22.03-LTS-Next
2022-01-11 07:09:39 +00:00
weiwei_tiantian
f50c1b9061 skip long tests for check 2022-01-11 14:26:57 +08:00
openeuler-ci-bot
1860ea1dbd !8 update version to 2.101
Merge pull request !8 from xinyingchao/openEuler-22.03-LTS-Next
2021-12-28 11:58:45 +00:00
renmingshuai
a277487ae5 update version to 2.101 2021-12-21 16:30:25 +08:00
4 changed files with 59 additions and 3 deletions

Binary file not shown.

BIN
IO-Compress-2.201.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,37 @@
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 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 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/t/cz-03zlib-v1.t b/t/cz-03zlib-v1.t
index 73d7b89..3e5302e 100755
--- a/t/cz-03zlib-v1.t
+++ b/t/cz-03zlib-v1.t
@@ -704,14 +704,7 @@ EOM
# Z_STREAM_END returned by 1.12.2, Z_DATA_ERROR for older zlib
# always Z_STREAM_ENDin zlib_ng
- if (ZLIB_VERNUM >= ZLIB_1_2_12_0 || Compress::Raw::Zlib::is_zlibng)
- {
- cmp_ok $status, '==', Z_STREAM_END ;
- }
- else
- {
- cmp_ok $status, '==', Z_DATA_ERROR ;
- }
+ cmp_ok $status, '==', Z_STREAM_END ;
ok $Z . $GOT eq $goodbye ;
}
--
2.33.0

View File

@ -1,17 +1,20 @@
# Run time expensive tests
%bcond_without long_tests
%bcond_with long_tests
# Run optional test
%bcond_with perl_IO_Compress_enables_optional_test
%{?perl_default_filter}
Name: perl-IO-Compress
Version: 2.100
Release: 1
Version: 2.201
Release: 3
Summary: Read and write compressed data
License: GPL+ or Artistic
URL: https://metacpan.org/release/IO-Compress
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-%{version}.tar.gz
Patch0: fix-test-case-failure.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils findutils make perl-generators perl-interpreter
@ -69,6 +72,7 @@ Man pages and other related documents.
%prep
%setup -q -n IO-Compress-%{version}
%patch0 -p1
# Remove spurious exec permissions
chmod -c -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm
@ -109,6 +113,21 @@ 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
* Wed Nov 02 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.201-1
- upgrade version to 2.201
* Tue Jan 11 2022 tianwei <tianwei12@huawei.com> - 2.101-2
- skip long tests for check
* Tue Dec 21 2021 yuanxin <yuanxin24@huawei.com> - 2.101-1
- update version to 2.101
* Tue Apr 06 2021 SimpleUpdate Robot <tc@openeuler.org> - 2.100-1
- Upgrade to version 2.100