From 7f507f8671ec49feeac2df3c459fb5926c07cf07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 13 Apr 2018 11:27:59 +0200 Subject: [PATCH] 5.20180414_26 bump --- ...21-Upgrade-database-to-5.20180414_26.patch | 211 ++++++++++++++++++ perl-Module-CoreList.spec | 17 +- 2 files changed, 224 insertions(+), 4 deletions(-) create mode 100644 Module-CoreList-5.20180221-Upgrade-database-to-5.20180414_26.patch diff --git a/Module-CoreList-5.20180221-Upgrade-database-to-5.20180414_26.patch b/Module-CoreList-5.20180221-Upgrade-database-to-5.20180414_26.patch new file mode 100644 index 0000000..5988ae6 --- /dev/null +++ b/Module-CoreList-5.20180221-Upgrade-database-to-5.20180414_26.patch @@ -0,0 +1,211 @@ +From f9b3e9c76a537979fda65f2488521528dc63a57b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Fri, 13 Apr 2018 11:12:44 +0200 +Subject: [PATCH] Upgrade database to 5.20180414_26 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Taken from perl-5.26.2-RC1. + +Signed-off-by: Petr Písař +--- + Changes | 3 +++ + lib/Module/CoreList.pm | 63 ++++++++++++++++++++------------------------ + lib/Module/CoreList/Utils.pm | 9 ++++++- + 3 files changed, 39 insertions(+), 36 deletions(-) + +diff --git a/Changes b/Changes +index f19640a..aec180f 100644 +--- a/Changes ++++ b/Changes +@@ -1,3 +1,6 @@ ++5.20180414_26 ++ - Updated for v5.26.2 ++ + 5.20180221 + - Updated for v5.27.10 + +diff --git a/lib/Module/CoreList.pm b/lib/Module/CoreList.pm +index ad9a9b0..dfcc188 100644 +--- a/lib/Module/CoreList.pm ++++ b/lib/Module/CoreList.pm +@@ -4,7 +4,7 @@ use strict; + our ( %released, %version, %families, %upstream, %bug_tracker, %deprecated, %delta ); + + use version; +-our $VERSION = '5.20180221'; ++our $VERSION = '5.20180414_26'; + + sub PKG_PATTERN () { q#\A[a-zA-Z_][0-9a-zA-Z_]*(?:(::|')[0-9a-zA-Z_]+)*\z# } + sub _looks_like_invocant ($) { local $@; !!eval { $_[0]->isa(__PACKAGE__) } } +@@ -330,6 +330,7 @@ sub changes_between { + 5.027008 => '2018-01-20', + 5.027009 => '2018-02-20', + 5.027010 => '2018-03-20', ++ 5.026002 => '????-??-??', + ); + + for my $version ( sort { $a <=> $b } keys %released ) { +@@ -15366,6 +15367,21 @@ for my $version ( sort { $a <=> $b } keys %released ) { + removed => { + } + }, ++ 5.026002 => { ++ delta_from => 5.026001, ++ changed => { ++ 'B::Op_private' => '5.026002', ++ 'Config' => '5.026002', ++ 'Module::CoreList' => '5.20180414_26', ++ 'Module::CoreList::TieHashDelta'=> '5.20180414_26', ++ 'Module::CoreList::Utils'=> '5.20180414_26', ++ 'PerlIO::via' => '0.17', ++ 'Term::ReadLine' => '1.17', ++ 'Unicode::UCD' => '0.69', ++ }, ++ removed => { ++ } ++ }, + ); + + sub is_core +@@ -16234,6 +16250,13 @@ sub is_core + removed => { + } + }, ++ 5.026002 => { ++ delta_from => 5.026001, ++ changed => { ++ }, ++ removed => { ++ } ++ }, + ); + + %deprecated = _undelta(\%deprecated); +@@ -16300,6 +16323,7 @@ sub is_core + 'Compress::Zlib' => 'cpan', + 'Config::Perl::V' => 'cpan', + 'DB_File' => 'cpan', ++ 'Devel::PPPort' => 'cpan', + 'Digest' => 'cpan', + 'Digest::MD5' => 'cpan', + 'Digest::SHA' => 'cpan', +@@ -16601,30 +16625,15 @@ sub is_core + 'Test2::Event::Diag' => 'cpan', + 'Test2::Event::Encoding'=> 'cpan', + 'Test2::Event::Exception'=> 'cpan', +- 'Test2::Event::Fail' => 'cpan', + 'Test2::Event::Generic' => 'cpan', ++ 'Test2::Event::Info' => 'cpan', + 'Test2::Event::Note' => 'cpan', + 'Test2::Event::Ok' => 'cpan', +- 'Test2::Event::Pass' => 'cpan', + 'Test2::Event::Plan' => 'cpan', + 'Test2::Event::Skip' => 'cpan', + 'Test2::Event::Subtest' => 'cpan', + 'Test2::Event::TAP::Version'=> 'cpan', +- 'Test2::Event::V2' => 'cpan', + 'Test2::Event::Waiting' => 'cpan', +- 'Test2::EventFacet' => 'cpan', +- 'Test2::EventFacet::About'=> 'cpan', +- 'Test2::EventFacet::Amnesty'=> 'cpan', +- 'Test2::EventFacet::Assert'=> 'cpan', +- 'Test2::EventFacet::Control'=> 'cpan', +- 'Test2::EventFacet::Error'=> 'cpan', +- 'Test2::EventFacet::Hub'=> 'cpan', +- 'Test2::EventFacet::Info'=> 'cpan', +- 'Test2::EventFacet::Meta'=> 'cpan', +- 'Test2::EventFacet::Parent'=> 'cpan', +- 'Test2::EventFacet::Plan'=> 'cpan', +- 'Test2::EventFacet::Render'=> 'cpan', +- 'Test2::EventFacet::Trace'=> 'cpan', + 'Test2::Formatter' => 'cpan', + 'Test2::Formatter::TAP' => 'cpan', + 'Test2::Hub' => 'cpan', +@@ -16637,7 +16646,6 @@ sub is_core + 'Test2::Tools::Tiny' => 'cpan', + 'Test2::Util' => 'cpan', + 'Test2::Util::ExternalMeta'=> 'cpan', +- 'Test2::Util::Facets2Legacy'=> 'cpan', + 'Test2::Util::HashBase' => 'cpan', + 'Test2::Util::Trace' => 'cpan', + 'Test::Builder' => 'cpan', +@@ -16755,6 +16763,7 @@ sub is_core + 'Compress::Zlib' => undef, + 'Config::Perl::V' => undef, + 'DB_File' => undef, ++ 'Devel::PPPort' => 'https://github.com/mhx/Devel-PPPort/issues/', + 'Digest' => undef, + 'Digest::MD5' => undef, + 'Digest::SHA' => undef, +@@ -17056,30 +17065,15 @@ sub is_core + 'Test2::Event::Diag' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Encoding'=> 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Exception'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::Event::Fail' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Generic' => 'http://github.com/Test-More/test-more/issues', ++ 'Test2::Event::Info' => undef, + 'Test2::Event::Note' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Ok' => 'http://github.com/Test-More/test-more/issues', +- 'Test2::Event::Pass' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Plan' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Skip' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Subtest' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::TAP::Version'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::Event::V2' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Event::Waiting' => 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet' => 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::About'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Amnesty'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Assert'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Control'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Error'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Hub'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Info'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Meta'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Parent'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Plan'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Render'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::EventFacet::Trace'=> 'http://github.com/Test-More/test-more/issues', + 'Test2::Formatter' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Formatter::TAP' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Hub' => 'http://github.com/Test-More/test-more/issues', +@@ -17092,7 +17086,6 @@ sub is_core + 'Test2::Tools::Tiny' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Util' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Util::ExternalMeta'=> 'http://github.com/Test-More/test-more/issues', +- 'Test2::Util::Facets2Legacy'=> 'http://github.com/Test-More/test-more/issues', + 'Test2::Util::HashBase' => 'http://github.com/Test-More/test-more/issues', + 'Test2::Util::Trace' => 'http://github.com/Test-More/test-more/issues', + 'Test::Builder' => 'http://github.com/Test-More/test-more/issues', +diff --git a/lib/Module/CoreList/Utils.pm b/lib/Module/CoreList/Utils.pm +index 95bb5c7..16971f9 100644 +--- a/lib/Module/CoreList/Utils.pm ++++ b/lib/Module/CoreList/Utils.pm +@@ -4,7 +4,7 @@ use strict; + use warnings; + use Module::CoreList; + +-our $VERSION = '5.20180221'; ++our $VERSION = '5.20180414_26'; + our %utilities; + + sub utilities { +@@ -1368,6 +1368,13 @@ my %delta = ( + removed => { + } + }, ++ 5.026002 => { ++ delta_from => 5.026001, ++ changed => { ++ }, ++ removed => { ++ } ++ }, + ); + + %utilities = Module::CoreList::_undelta(\%delta); +-- +2.14.3 + diff --git a/perl-Module-CoreList.spec b/perl-Module-CoreList.spec index 6e30acf..8b3c9f9 100644 --- a/perl-Module-CoreList.spec +++ b/perl-Module-CoreList.spec @@ -1,15 +1,20 @@ # Run optional test %bcond_without perl_Module_CoreList_enables_optional_test +%global cpan_version 5.20180221 + Name: perl-Module-CoreList # Epoch to compete with perl.spec Epoch: 1 -Version: 5.20180221 -Release: 1%{?dist} +Version: 5.20180414 +Release: 0.1.RC1%{?dist} Summary: What modules are shipped with versions of perl License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-CoreList/ -Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{cpan_version}.tar.gz +# Upgrade database to 5.20180414_26. It's requires for Perl 5.26.2{,-RC*}, +# so that we have metadata about packaged Perl. Some tools like Pinto need it. +Patch0: Module-CoreList-5.20180221-Upgrade-database-to-5.20180414_26.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators @@ -57,7 +62,8 @@ modules were shipped with given perl version. %prep -%setup -q -n Module-CoreList-%{version} +%setup -q -n Module-CoreList-%{cpan_version} +%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 @@ -81,6 +87,9 @@ make test %{_mandir}/man1/corelist.* %changelog +* Fri Apr 13 2018 Petr Pisar - 1:5.20180414-0.1.RC1 +- 5.20180414_26 bump + * Wed Mar 21 2018 Petr Pisar - 1:5.20180221-1 - 5.20180221 bump