From 8eedc6bea8824c4eb00866a62087cfe74c86def8 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 22 Jun 2022 16:29:26 +0200 Subject: [PATCH] 2.200 bump --- ...count-regression-in-t-07bufsize.t-16.patch | 29 +++++++++++++++++++ perl-Compress-Raw-Zlib.spec | 10 +++++-- sources | 2 +- 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 Compress-Raw-Zlib-2.200-Fix-test-count-regression-in-t-07bufsize.t-16.patch diff --git a/Compress-Raw-Zlib-2.200-Fix-test-count-regression-in-t-07bufsize.t-16.patch b/Compress-Raw-Zlib-2.200-Fix-test-count-regression-in-t-07bufsize.t-16.patch new file mode 100644 index 0000000..3861a54 --- /dev/null +++ b/Compress-Raw-Zlib-2.200-Fix-test-count-regression-in-t-07bufsize.t-16.patch @@ -0,0 +1,29 @@ +From 98dc5b4a2b30c26752b6f686462b06b8db72a5e4 Mon Sep 17 00:00:00 2001 +From: Paul Howarth +Date: Wed, 22 Jun 2022 09:45:11 +0100 +Subject: [PATCH] Fix test count regression in t/07bufsize.t (#16) + +Commit 8af98773 (zlib-ng support) changed the test count from 288 to +280. However, the number of tests did not actually change. There are +two initial tests prior to a loop of 13 iterations containing 22 tests +per iteration. Hence the total number of tests is 2+13*22 = 288. +--- + t/07bufsize.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/07bufsize.t b/t/07bufsize.t +index abdb87c..d9af9a1 100644 +--- a/t/07bufsize.t ++++ b/t/07bufsize.t +@@ -24,7 +24,7 @@ BEGIN + $extra = 1 + if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 }; + +- plan tests => 280 + $extra ; ++ plan tests => 288 + $extra ; + + use_ok('Compress::Raw::Zlib', 2) ; + } +-- +2.35.3 + diff --git a/perl-Compress-Raw-Zlib.spec b/perl-Compress-Raw-Zlib.spec index 2a2f802..d1ca903 100644 --- a/perl-Compress-Raw-Zlib.spec +++ b/perl-Compress-Raw-Zlib.spec @@ -7,8 +7,8 @@ Name: perl-Compress-Raw-Zlib -Version: 2.105 -Release: 489%{?dist} +Version: 2.200 +Release: 1%{?dist} Summary: Low-level interface to the zlib compression library # Zlib.xs: (GPL+ or Artistic) and zlib # Others: GPL+ or Artistic @@ -17,6 +17,7 @@ Summary: Low-level interface to the zlib compression library License: (GPL+ or Artistic) and zlib URL: https://metacpan.org/release/Compress-Raw-Zlib Source0: https://cpan.metacpan.org/modules/by-module/Compress/Compress-Raw-Zlib-%{version}.tar.gz +Patch0: Compress-Raw-Zlib-2.200-Fix-test-count-regression-in-t-07bufsize.t-16.patch # Module Build BuildRequires: coreutils BuildRequires: findutils @@ -44,6 +45,7 @@ BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # Test Suite BuildRequires: perl(File::Path) +BuildRequires: perl(List::Util) BuildRequires: perl(threads::shared) # Dual-lived module needs rebuilding early in the boot process %if !%{defined perl_bootstrap} @@ -101,6 +103,7 @@ with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Compress-Raw-Zlib-%{version} +%patch0 -p1 # Remove bundled zlib rm -rf zlib-src perl -i -ne 'print $_ unless m{^zlib-src/}' MANIFEST @@ -160,6 +163,9 @@ make test COMPRESS_ZLIB_RUN_MOST=1 %{_libexecdir}/%{name} %changelog +* Wed Jun 22 2022 Jitka Plesnikova - 2.200-1 +- 2.200 bump + * Fri Jun 03 2022 Jitka Plesnikova - 2.105-489 - Perl 5.36 re-rebuild of bootstrapped packages diff --git a/sources b/sources index 3ae5b5b..efc1d87 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Compress-Raw-Zlib-2.105.tar.gz) = 2a30ac213db4a14c1d6a4ca5b59deca938fa2b895bbba846dfb1379eea5b229776656b56fdf96aabc8904f0a6951e2b642949e434b277bb76baab5688abcbe72 +SHA512 (Compress-Raw-Zlib-2.200.tar.gz) = 1b3c5e55f86c65edeb350ef7889f19b4279d5fd9f66a43693319dfdeb43d97b99c603e1f9c3fa3dbbe44f17a469097659a8927ae4011557939b2c3a7ecc8095e