From abb08767a7836e02166004c5755c5a83451ba44a Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 7 Feb 2022 16:15:08 +0100 Subject: [PATCH] The test XS-APItest/t/printf.t was fixed by gcc-12.0.1-0.6.fc36 --- perl-5.34.0-Fix-XS-APItest-with-GCC12.patch | 12 ------------ perl.spec | 11 ++++------- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 perl-5.34.0-Fix-XS-APItest-with-GCC12.patch diff --git a/perl-5.34.0-Fix-XS-APItest-with-GCC12.patch b/perl-5.34.0-Fix-XS-APItest-with-GCC12.patch deleted file mode 100644 index 588ea64..0000000 --- a/perl-5.34.0-Fix-XS-APItest-with-GCC12.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up perl-5.34.0/ext/XS-APItest/APItest.xs.longdouble perl-5.34.0/ext/XS-APItest/APItest.xs ---- perl-5.34.0/ext/XS-APItest/APItest.xs.longdouble 2022-02-02 08:36:19.847253094 +0100 -+++ perl-5.34.0/ext/XS-APItest/APItest.xs 2022-02-02 08:36:37.421344783 +0100 -@@ -2334,7 +2334,7 @@ print_double(val) - int - have_long_double() - CODE: --#ifdef HAS_LONG_DOUBLE -+#if defined(HAS_LONG_DOUBLE) && defined(USE_LONG_DOUBLE) - RETVAL = 1; - #else - RETVAL = 0; diff --git a/perl.spec b/perl.spec index 3895d0e..9401fa4 100644 --- a/perl.spec +++ b/perl.spec @@ -104,7 +104,7 @@ License: GPL+ or Artistic Epoch: %{perl_epoch} Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 484%{?dist} +Release: 485%{?dist} Summary: Practical Extraction and Report Language Url: https://www.perl.org/ Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz @@ -174,9 +174,6 @@ Patch14: perl-5.35.1-Fix-GDBM_File-to-compile-with-version-1.20-and-earli Patch15: perl-5.35.1-Raise-version-number-in-ext-GDBM_File-GDBM_File.pm.patch Patch16: perl-5.35.1-Fix-definition-of-ITEM_NOT_FOUND-for-pre-1.13-versio.patch -# Fix test XS-APItest/t/printf.t failing with GCC 12 on ppc64le -Patch17: perl-5.34.0-Fix-XS-APItest-with-GCC12.patch - # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048 Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch @@ -4204,9 +4201,6 @@ you're not running VMS, this module does nothing. %patch14 -p1 %patch15 -p1 %patch16 -p1 -%ifarch ppc64le -%patch17 -p1 -%endif %patch200 -p1 %patch201 -p1 @@ -7006,6 +7000,9 @@ popd # Old changelog entries are preserved in CVS. %changelog +* Mon Feb 07 2022 Jitka Plesnikova - 4:5.34.0-485 +- The test XS-APItest/t/printf.t was fixed by gcc-12.0.1-0.6.fc36 + * Wed Feb 02 2022 Jitka Plesnikova - 4:5.34.0-484 - Fix failing test XS-APItest/t/printf.t (bug#2046802) - Disable package notes to prevent perl-* build breakage