Accepting request 976985 from devel:languages:perl
- Update to 5.34.1 - maintenance release I hope I got it right now. It export both 5.34.0 and 5.34.1 COMPAT. That should be correct. OBS-URL: https://build.opensuse.org/request/show/976985 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=124
This commit is contained in:
commit
576c6bb010
@ -1,37 +0,0 @@
|
|||||||
From c029d660f2fe60699cf64bbb3fa9f671a1a370d5 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sergey Poznyakoff <gray@gnu.org>
|
|
||||||
Date: Wed, 23 Jun 2021 00:15:54 +0300
|
|
||||||
Subject: [PATCH] Fix GDBM_File to compile with version 1.20 and earlier
|
|
||||||
|
|
||||||
* ext/GDBM_File/GDBM_File.xs (ITEM_NOT_FOUND): Define conditionally,
|
|
||||||
depending on the GDBM_VERSION_MAJOR and GDBM_VERSION_MINOR.
|
|
||||||
Don't assume GDBM_ITEM_NOT_FOUND is a define (it isn't since
|
|
||||||
gdbm commit d3e27957).
|
|
||||||
---
|
|
||||||
ext/GDBM_File/GDBM_File.xs | 11 +++++------
|
|
||||||
1 file changed, 5 insertions(+), 6 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs
|
|
||||||
index cd0bb6f26ff..494c2889ca8 100644
|
|
||||||
--- a/ext/GDBM_File/GDBM_File.xs
|
|
||||||
+++ b/ext/GDBM_File/GDBM_File.xs
|
|
||||||
@@ -145,14 +145,13 @@ output_datum(pTHX_ SV *arg, char *str, int size)
|
|
||||||
#define gdbm_setopt(db,optflag,optval,optlen) not_here("gdbm_setopt")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifndef GDBM_ITEM_NOT_FOUND
|
|
||||||
-# define GDBM_ITEM_NOT_FOUND GDBM_NO_ERROR
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
+#if GDBM_VERSION_MAJOR == 1 && GDBM_VERSION_MINOR < 13
|
|
||||||
/* Prior to 1.13, gdbm_fetch family functions set gdbm_errno to GDBM_NO_ERROR
|
|
||||||
if the requested key did not exist */
|
|
||||||
-#define ITEM_NOT_FOUND() \
|
|
||||||
- (gdbm_errno == GDBM_ITEM_NOT_FOUND || gdbm_errno == GDBM_NO_ERROR)
|
|
||||||
+# define ITEM_NOT_FOUND() (gdbm_errno == GDBM_NO_ERROR)
|
|
||||||
+#else
|
|
||||||
+# define ITEM_NOT_FOUND() (gdbm_errno == GDBM_ITEM_NOT_FOUND)
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#define CHECKDB(db) do { \
|
|
||||||
if (!db->dbp) { \
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:82c2e5e5c71b0e10487a80d79140469ab1f8056349ca8545140a224dbbed7ded
|
|
||||||
size 12881416
|
|
3
perl-5.34.1.tar.xz
Normal file
3
perl-5.34.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6d52cf833ff1af27bb5e986870a2c30cec73c044b41e3458cd991f94374039f7
|
||||||
|
size 12760168
|
19
perl.changes
19
perl.changes
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 4 06:41:37 UTC 2022 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- Update to 5.34.1 - maintenance release
|
||||||
|
B::Deparse has been upgraded from version 1.56 to 1.57.
|
||||||
|
Encode has been upgraded from version 3.08 to 3.08_01.
|
||||||
|
GDBM_File has been upgraded from version 1.19 to 1.19_01.
|
||||||
|
Module::CoreList has been upgraded from version 5.20210520 to 5.20220313.
|
||||||
|
perl5db.pl has been upgraded from version 1.60 to 1.60_01.
|
||||||
|
- Drop c029d660f2fe60699cf64bbb3fa9f671a1a370d5.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 3 13:33:03 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Don't install anything in testsuite build
|
||||||
|
- Run testsuite also in qemu build
|
||||||
|
- posix-sigaction.patch: remove, this has been fixed properly in commit
|
||||||
|
19c9c2ee4a
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 4 08:08:30 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
Mon Oct 4 08:08:30 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
24
perl.spec
24
perl.spec
@ -21,11 +21,11 @@
|
|||||||
%define name_suffix -%{flavor}
|
%define name_suffix -%{flavor}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define pversion 5.34.0
|
%define pversion 5.34.1
|
||||||
# set to %nil when equal to pversion
|
# set to %nil when equal to pversion
|
||||||
%global versionlist %nil
|
%global versionlist 5.34.0
|
||||||
Name: perl%{?name_suffix}
|
Name: perl%{?name_suffix}
|
||||||
Version: 5.34.0
|
Version: 5.34.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Perl interpreter
|
Summary: The Perl interpreter
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
@ -50,9 +50,6 @@ Patch11: perl-5.18.2-overflow.diff
|
|||||||
Patch12: perl-reproducible.patch
|
Patch12: perl-reproducible.patch
|
||||||
# PATCH-FIX-OPENSUSE skip flaky tests powerpc as bypass https://bugzilla.suse.com/show_bug.cgi?id=1063176
|
# PATCH-FIX-OPENSUSE skip flaky tests powerpc as bypass https://bugzilla.suse.com/show_bug.cgi?id=1063176
|
||||||
Patch13: perl_skip_flaky_tests_powerpc.patch
|
Patch13: perl_skip_flaky_tests_powerpc.patch
|
||||||
Patch14: posix-sigaction.patch
|
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/Perl/perl5/pull/18919 - Fix build with gdbm 1.20
|
|
||||||
Patch15: https://github.com/Perl/perl5/commit/c029d660f2fe60699cf64bbb3fa9f671a1a370d5.patch
|
|
||||||
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
|
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
|
||||||
Patch18: perl-reproducible2.patch
|
Patch18: perl-reproducible2.patch
|
||||||
BuildRequires: db-devel
|
BuildRequires: db-devel
|
||||||
@ -68,6 +65,9 @@ Suggests: perl-doc = %{version}
|
|||||||
Provides: perl-500
|
Provides: perl-500
|
||||||
Provides: perl-Archive-Tar = 2.38
|
Provides: perl-Archive-Tar = 2.38
|
||||||
Provides: perl(:MODULE_COMPAT_%{pversion})
|
Provides: perl(:MODULE_COMPAT_%{pversion})
|
||||||
|
%if "%{versionlist}" != ""
|
||||||
|
Provides: perl(:MODULE_COMPAT_%{versionlist})
|
||||||
|
%endif
|
||||||
Obsoletes: perl-Archive-Tar <= 2.38
|
Obsoletes: perl-Archive-Tar <= 2.38
|
||||||
Provides: perl-autodie = 2.34
|
Provides: perl-autodie = 2.34
|
||||||
Obsoletes: perl-autodie <= 2.34
|
Obsoletes: perl-autodie <= 2.34
|
||||||
@ -187,8 +187,6 @@ cp -p %{SOURCE3} .
|
|||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch11
|
%patch11
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch14
|
|
||||||
%patch15 -p1
|
|
||||||
%patch18
|
%patch18
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -230,12 +228,17 @@ mv savelib lib
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if "%{name}" == "perl-testsuite" && !0%{?qemu_user_space_build}
|
%if 0%{?qemu_user_space_build}
|
||||||
%define _unpackaged_files_terminate_build 0
|
# Disable tests that are difficult to emulate
|
||||||
|
echo 'print "1..0\n";' > t/op/fork.t
|
||||||
|
echo 'print "1..0\n";' > t/op/magic.t
|
||||||
|
%endif
|
||||||
|
%if "%{name}" == "perl-testsuite"
|
||||||
TEST_JOBS="%{jobs}" make %{?_smp_mflags} test
|
TEST_JOBS="%{jobs}" make %{?_smp_mflags} test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if "%{name}" != "perl-testsuite"
|
||||||
%make_install
|
%make_install
|
||||||
cp -a %{buildroot}/usr/lib/perl5/site_perl %{buildroot}/usr/lib/perl5/vendor_perl
|
cp -a %{buildroot}/usr/lib/perl5/site_perl %{buildroot}/usr/lib/perl5/vendor_perl
|
||||||
cpa=`echo %{buildroot}/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'`
|
cpa=`echo %{buildroot}/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'`
|
||||||
@ -352,6 +355,7 @@ EOF
|
|||||||
esac
|
esac
|
||||||
done)
|
done)
|
||||||
} > perl-base-excludes
|
} > perl-base-excludes
|
||||||
|
%endif
|
||||||
|
|
||||||
%if "%{name}" == "perl"
|
%if "%{name}" == "perl"
|
||||||
%files base -f perl-base-filelist
|
%files base -f perl-base-filelist
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
--- ./ext/POSIX/POSIX.xs.orig 2020-06-14 23:01:25.000000000 +0000
|
|
||||||
+++ ./ext/POSIX/POSIX.xs 2020-10-27 10:53:50.744531872 +0000
|
|
||||||
@@ -3110,6 +3110,10 @@ sigaction(sig, optaction, oldaction = 0)
|
|
||||||
/* Set up any desired flags. */
|
|
||||||
svp = hv_fetchs(action, "FLAGS", FALSE);
|
|
||||||
act.sa_flags = svp ? SvIV(*svp) : 0;
|
|
||||||
+#ifdef SA_SIGINFO
|
|
||||||
+ /* Perl_sighandler depends on the extra arguments. */
|
|
||||||
+ act.sa_flags |= SA_SIGINFO;
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* Safe signals use "csighandler", which vectors through the
|
|
||||||
PL_sighandlerp pointer when it's safe to do so.
|
|
Loading…
Reference in New Issue
Block a user