From a4f353471631025ae56ba46f98134ea42af2cb52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 9 Nov 2019 15:55:36 +0100 Subject: [PATCH] - up to 5.30.0 --- perl-modules | 72 ++++++++++----------- perl-modules2 | 6 +- perl.spec | 29 +++------ perl_585-microperl_uconfig.patch | 14 ++--- remove-ext-GDBM_File-t-fatal.t.patch | 94 ---------------------------- 5 files changed, 56 insertions(+), 159 deletions(-) delete mode 100644 remove-ext-GDBM_File-t-fatal.t.patch diff --git a/perl-modules b/perl-modules index 0f3b52d..699edcc 100644 --- a/perl-modules +++ b/perl-modules @@ -1,52 +1,52 @@ -# Module versions from Perl 5.28.2 distribution. -Archive::Tar = 2.30 +# Module versions from Perl 5.30.0 distribution. +Archive::Tar = 2.32 Attribute::Handlers = 1.01 -CPAN = 2.20 +CPAN = 2.22 CPAN::Meta = 2.150010 CPAN::Meta::YAML = 0.018 -Compress::Raw::Bzip2 = 2.074 -Compress::Raw::Zlib = 2.076 -Compress::Zlib = 2.074 -Devel::PPPort = 3.40 -Devel::Peek = 1.27 +Compress::Raw::Bzip2 = 2.084 +Compress::Raw::Zlib = 2.084 +Compress::Zlib = 2.084 +Devel::PPPort = 3.52 +Devel::Peek = 1.28 Digest = 1.17_01 Digest::MD5 = 2.55 -Digest::SHA = 6.01 -Encode = 2.97 -ExtUtils::CBuilder = 0.280230 +Digest::SHA = 6.02 +Encode = 3.01 +ExtUtils::CBuilder = 0.280231 ExtUtils::Command = 7.34 ExtUtils::Embed = 1.35 ExtUtils::Install = 2.14 ExtUtils::MakeMaker = 7.34 -ExtUtils::Manifest = 1.70 -ExtUtils::ParseXS = 3.39 +ExtUtils::Manifest = 1.72 +ExtUtils::ParseXS = 3.40 File::Compare = 1.1006 -File::Temp = 0.2304 +File::Temp = 0.2309 Filter::Simple = 0.95 FindBin = 1.51 -GDBM_File = 1.17 +GDBM_File = 1.18 Getopt::Long = 2.50 Hash::Util = 0.22 I18N::LangTags = 0.43 -IO = 1.39 +IO = 1.40 IO::Zlib = 1.10 -IPC::Cmd = 1.00 +IPC::Cmd = 1.02 IPC::SysV = 2.07 -JSON::PP = 2.97001 -Locale::Codes = 3.56 +JSON::PP = 4.02 +Locale::Codes = 3.24 Locale::Maketext = 1.29 Locale::Maketext::Simple = 0.21_01 MIME::Base64 = 3.15 -Math::BigInt = 1.999811 -Math::BigInt::FastCalc = 0.5006 -Math::BigRat = 0.2613 +Math::BigInt = 1.999816 +Math::BigInt::FastCalc = 0.5008 +Math::BigRat = 0.2614 Math::Complex = 1.5901 Math::Trig = 1.23 Memoize = 1.03_01 -Module::CoreList = 5.20190419 -Module::Load = 0.32 +Module::CoreList = 5.20190522 +Module::Load = 0.34 Module::Load::Conditional = 0.68 -Module::Metadata = 1.000033 +Module::Metadata = 1.000036 NEXT = 0.67_01 Params::Check = 0.38 Parse::CPAN::Meta = 2.150010 @@ -57,28 +57,28 @@ Pod::Parser = 1.63 Pod::Simple = 3.35 Safe = 2.40 Socket = 2.027 -Storable = 3.08_01 +Storable = 3.15 Sys::Syslog = 0.35 Term::ANSIColor = 4.06 Term::Cap = 1.17 Test = 1.31 -Test::Builder::Tester = 1.302133 +Test::Builder::Tester = 1.302162 Test::Harness = 3.42 -Test::Simple = 1.302133 -Test::Tester = 1.302133 -Test::use::ok = 1.302133 +Test::Simple = 1.302162 +Test::Tester = 1.302162 +Test::use::ok = 1.302162 Text::Balanced = 2.03 Text::ParseWords = 3.30 Text::Tabs = 2013.0523 Tie::File = 1.02 Tie::RefHash = 1.39 -Time::HiRes = 1.9759 -Time::Piece = 1.3204 +Time::HiRes = 1.976 +Time::Piece = 1.33 UNIVERSAL = 1.13 -Unicode::Collate = 1.25 +Unicode::Collate = 1.27 Unicode::Normalize = 1.26 autodie = 2.29 -bignum = 0.49 +bignum = 0.51 libnet = 3.11 -parent = 0.236 -version = 0.9923 +parent = 0.237 +version = 0.9924 diff --git a/perl-modules2 b/perl-modules2 index 9bdc6c9..d24ad02 100644 --- a/perl-modules2 +++ b/perl-modules2 @@ -1,4 +1,4 @@ -# Non-straight named module versions from Perl 5.28.2 distribution. -IO-Compress IO::Compress::Base = 2.074 -PathTools File::Spec = 3.74 +# Non-straight named module versions from Perl 5.30.0 distribution. +IO-Compress IO::Compress::Base = 2.084 +PathTools File::Spec = 3.78 Scalar-List-Utils List::Util = 1.5 diff --git a/perl.spec b/perl.spec index 79b2aa4..6a88da7 100644 --- a/perl.spec +++ b/perl.spec @@ -25,7 +25,7 @@ # NOTE # - modules in 5.20.0: http://search.cpan.org/~rjbs/perl-5.20.0/ -%define abi 5.28.0 +%define abi 5.30.0 %define perlthread %{?with_threads:-thread-multi} %define perl_privlib %{_datadir}/perl5/%{ver} @@ -43,7 +43,7 @@ %define perl_mod2verrel() %([ -f %{SOURCE4} ] && awk -vp=%1 -vr=%2 '$1 == p { print $4"-"r }' %{SOURCE4} || echo ERROR) %define perl_mod2version() %([ -f %{SOURCE4} ] && awk -vp=%1 '$1 == p { m=$2; printf("perl-%s = %s\\n", p, $4)}END{if (!m) printf("# Error looking up [%s]\\n", p) }' %{SOURCE4} || echo ERROR) -%define ver 5.28.2 +%define ver 5.30.0 %define rel 1 Summary: Practical Extraction and Report Language (Perl) Summary(cs.UTF-8): Programovací jazyk Perl @@ -73,7 +73,7 @@ Epoch: 1 License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/src/5.0/%{name}-%{ver}.tar.xz -# Source0-md5: 6bb75770e9ba085b32bf13e4be71e4ac +# Source0-md5: 037c35000550bdcb47552ad0f6d3064d Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 # Source1-md5: de47d7893f49ad7f41ba69c78511c0db Source2: %{name}.prov @@ -92,7 +92,6 @@ Patch7: %{name}-t-syslog.patch Patch8: %{name}-Destroy-GDBM-NDBM-ODBM-SDBM-_File-objects.patch Patch10: %{name}-invalid-void-use.patch Patch11: %{name}-test-dst.patch -Patch12: remove-ext-GDBM_File-t-fatal.t.patch URL: http://dev.perl.org/perl5/ %ifarch ppc # gcc 3.3.x miscompiles pp_hot.c @@ -730,7 +729,6 @@ zbyt duża, a rozmiar za mały na tworzenie oddzielnych rozszerzeń. %patch8 -p1 %patch10 -p1 %patch11 -p1 -%patch12 -p1 cat > runperl <<'EOF' #!/bin/sh @@ -873,7 +871,7 @@ echo ".so perl%(echo %{ver} | tr -d .)delta.1" >$RPM_BUILD_ROOT%{_mandir}/man1/p %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/File::Spec::{Epoc,Mac,OS2,VMS,Win32}.3perl* ## We already have these *.pod files as man pages -%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/{Encode,Locale{,/Codes,/Maketext},Module,Net,Test,version}/*.pod +%{__rm} $RPM_BUILD_ROOT%{perl_privlib}/{Encode,Locale{,/Maketext},Module,Net,Test,version}/*.pod %{__rm} $RPM_BUILD_ROOT%{perl_privlib}/*.pod %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/*.pod @@ -1188,11 +1186,6 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{perl_archlib}/auto/Tie/Hash/NamedCapture/NamedCapture.so %{_mandir}/man3/Tie::Hash::NamedCapture.3perl* -%{perl_archlib}/arybase.pm -%dir %{perl_archlib}/auto/arybase -%attr(755,root,root) %{perl_archlib}/auto/arybase/arybase.so -%{_mandir}/man3/arybase.3perl* - %files devel %defattr(644,root,root,755) %doc doc-devel/* @@ -1478,8 +1471,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/SDBM_File.3perl* %{perl_archlib}/Storable.pm -%dir %{perl_archlib}/Storable -%{perl_archlib}/Storable/Limit.pm %dir %{perl_archlib}/auto/Storable %attr(755,root,root) %{perl_archlib}/auto/Storable/Storable.so %{_mandir}/man3/Storable.3perl* @@ -1550,12 +1541,12 @@ rm -rf $RPM_BUILD_ROOT %{perl_privlib}/JSON %{_mandir}/man3/JSON::PP*.3perl* %{perl_privlib}/Locale -%{_mandir}/man3/Locale::Codes*.3perl* -%{_mandir}/man3/Locale::Country.3perl* -%{_mandir}/man3/Locale::Currency.3perl* -%{_mandir}/man3/Locale::Language.3perl* -%{_mandir}/man3/Locale::Maketext*.3perl* -%{_mandir}/man3/Locale::Script.3perl* +%{_mandir}/man3/Locale::Maketext.3* +%{_mandir}/man3/Locale::Maketext::Cookbook.3* +%{_mandir}/man3/Locale::Maketext::Guts.3* +%{_mandir}/man3/Locale::Maketext::GutsLoader.3* +%{_mandir}/man3/Locale::Maketext::Simple.3* +%{_mandir}/man3/Locale::Maketext::TPJ13.3* %{perl_privlib}/Memoize %{perl_privlib}/Memoize.pm %{_mandir}/man3/Memoize*.3perl* diff --git a/perl_585-microperl_uconfig.patch b/perl_585-microperl_uconfig.patch index dbf9fd2..af05cc0 100644 --- a/perl_585-microperl_uconfig.patch +++ b/perl_585-microperl_uconfig.patch @@ -4,8 +4,8 @@ afsroot='/afs' alignbytes='4' aphostname='/bin/hostname' --archlib='/usr/local/lib/perl5/5.28/unknown' --archlibexp='/usr/local/lib/perl5/5.28/unknown' +-archlib='/usr/local/lib/perl5/5.30/unknown' +-archlibexp='/usr/local/lib/perl5/5.30/unknown' -archname='unknown' asctime_r_proto='0' -bin='/usr/local/bin' @@ -42,8 +42,8 @@ perl_static_inline='static' phostname='hostname' pidtype=int --privlib='/usr/local/lib/perl5/5.28' --privlibexp='/usr/local/lib/perl5/5.28' +-privlib='/usr/local/lib/perl5/5.30' +-privlibexp='/usr/local/lib/perl5/5.30' procselfexe='' prototype='undef' @@ -700,8 +691,6 @@ @@ -60,7 +60,7 @@ @@ -4735,5 +4735,5 @@ /* Generated from: - * 86429d6dea8cb2d81b30da9d916693eb4c04ebeb21969c8df6f470ac77cd5c92 config_h.SH -- * 472eafc083bb70e26f6130fa170fb8c4370c88404dc212129a44575e82f6c963 uconfig.sh -+ * a9cb1aaa1fb12047bcd01a59c7c5ff010c05b0ed2581ccfe43f5d900ce8ceb18 uconfig.sh + * 6608de918c3c876975f74b684da2536ab1ee23459783d691ae02ce2526a497a7 config_h.SH +- * 2aaf18b9277e180fc5e5d60290ecb0c91fcac3531bd8825e5687a212daa586e9 uconfig.sh ++ * 700be6acc013e2e38111b8fd0c3029d9ca67436e6bb85c457050243683e30b92 uconfig.sh * ex: set ro: */ diff --git a/remove-ext-GDBM_File-t-fatal.t.patch b/remove-ext-GDBM_File-t-fatal.t.patch deleted file mode 100644 index bc4ac01..0000000 --- a/remove-ext-GDBM_File-t-fatal.t.patch +++ /dev/null @@ -1,94 +0,0 @@ -From 892e8b006aa99ac2c880cdc2a81fd16f06c1a0f3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Mon, 9 Jul 2018 16:18:36 +0200 -Subject: [PATCH] Remove ext/GDBM_File/t/fatal.t -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -gdbm-1.15 defaults to a memory-mapped I/O and does not report any I/O -errors on store and close operations. Thus ext/GDBM_File/t/fatal.t -test that expects these fatal error reports fails. Because there is -no other way to provoke a fatal error in gdbm-1.15 this patch -removes the test. Future gdbm version promisses reporting a regular -error on closing a database. - -RT#133295 - -Signed-off-by: Petr Písař ---- - MANIFEST | 1 - - ext/GDBM_File/t/fatal.t | 49 ------------------------------------------------- - 2 files changed, 50 deletions(-) - delete mode 100644 ext/GDBM_File/t/fatal.t - -diff --git a/MANIFEST b/MANIFEST -index 95fa539095..b07fed1f54 100644 ---- a/MANIFEST -+++ b/MANIFEST -@@ -4100,7 +4100,6 @@ ext/GDBM_File/GDBM_File.pm GDBM extension Perl module - ext/GDBM_File/GDBM_File.xs GDBM extension external subroutines - ext/GDBM_File/hints/sco.pl Hint for GDBM_File for named architecture - ext/GDBM_File/Makefile.PL GDBM extension makefile writer --ext/GDBM_File/t/fatal.t Test the fatal_func argument to gdbm_open - ext/GDBM_File/t/gdbm.t See if GDBM_File works - ext/GDBM_File/typemap GDBM extension interface types - ext/Hash-Util/Changes Change history of Hash::Util -diff --git a/ext/GDBM_File/t/fatal.t b/ext/GDBM_File/t/fatal.t -deleted file mode 100644 -index 0e426d4dbc..0000000000 ---- a/ext/GDBM_File/t/fatal.t -+++ /dev/null -@@ -1,49 +0,0 @@ --#!./perl -w --use strict; -- --use Test::More; --use Config; -- --BEGIN { -- plan(skip_all => "GDBM_File was not built") -- unless $Config{extensions} =~ /\bGDBM_File\b/; -- -- # https://rt.perl.org/Public/Bug/Display.html?id=117967 -- plan(skip_all => "GDBM_File is flaky in $^O") -- if $^O =~ /darwin/; -- -- plan(tests => 8); -- use_ok('GDBM_File'); --} -- --unlink ; -- --open my $fh, '<', $^X or die "Can't open $^X: $!"; --my $fileno = fileno $fh; --isnt($fileno, undef, "Can find next available file descriptor"); --close $fh or die $!; -- --is((open $fh, "<&=$fileno"), undef, -- "Check that we cannot open fileno $fileno. \$! is $!"); -- --umask(0); --my %h; --isa_ok(tie(%h, 'GDBM_File', 'Op_dbmx', GDBM_WRCREAT, 0640), 'GDBM_File'); -- --isnt((open $fh, "<&=$fileno"), undef, "dup fileno $fileno") -- or diag("\$! = $!"); --isnt(close $fh, undef, -- "close fileno $fileno, out from underneath the GDBM_File"); --is(eval { -- $h{Perl} = 'Rules'; -- untie %h; -- 1; --}, undef, 'Trapped error when attempting to write to knobbled GDBM_File'); -- --# Observed "File write error" and "lseek error" from two different systems. --# So there might be more variants. Important part was that we trapped the error --# via croak. --like($@, qr/ at .*\bfatal\.t line \d+\.\n\z/, -- 'expected error message from GDBM_File'); -- --unlink ; --- -2.14.4 - -- 2.44.0