From 859e539834d13d5f85cd995d161d0c846b0c6bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 11 May 2017 11:03:21 +0200 Subject: [PATCH] Upgrade to 5.20170520 as provided in perl blead git branch We need a stadalone package after finishing perl-5.26 bootstrap. --- ...ist-5.20170420-Upgrade-to-5.20170520.patch | 127 ++++++++++++++++++ perl-Module-CoreList.spec | 15 ++- 2 files changed, 138 insertions(+), 4 deletions(-) create mode 100644 Module-CoreList-5.20170420-Upgrade-to-5.20170520.patch diff --git a/Module-CoreList-5.20170420-Upgrade-to-5.20170520.patch b/Module-CoreList-5.20170420-Upgrade-to-5.20170520.patch new file mode 100644 index 0000000..f168c2f --- /dev/null +++ b/Module-CoreList-5.20170420-Upgrade-to-5.20170520.patch @@ -0,0 +1,127 @@ +From aff7d60bcdecca28d498e81eeebc9d7b4a6af197 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 11 May 2017 10:57:54 +0200 +Subject: [PATCH] Upgrade to 5.20170520 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unbundled from upstream perl git commit +bd1a29f218b291165e47d9035aaeec14abd9732e. + +Signed-off-by: Petr Písař +--- + Changes | 3 +++ + lib/Module/CoreList.pm | 22 +++++++++++++++++++++- + lib/Module/CoreList/TieHashDelta.pm | 2 +- + lib/Module/CoreList/Utils.pm | 9 ++++++++- + 4 files changed, 33 insertions(+), 3 deletions(-) + +diff --git a/Changes b/Changes +index 3757b63..e137bb3 100644 +--- a/Changes ++++ b/Changes +@@ -1,3 +1,6 @@ ++5.20170520 ++ - Updated for v5.26.0 ++ + 5.20170420 + - Updated for v5.25.12 + +diff --git a/lib/Module/CoreList.pm b/lib/Module/CoreList.pm +index ce7a565..7e5cd78 100644 +--- a/lib/Module/CoreList.pm ++++ b/lib/Module/CoreList.pm +@@ -3,7 +3,7 @@ use strict; + use vars qw/$VERSION %released %version %families %upstream + %bug_tracker %deprecated %delta/; + use version; +-$VERSION = '5.20170420'; ++$VERSION = '5.20170520'; + + sub _undelta { + my ($delta) = @_; +@@ -320,6 +320,7 @@ sub changes_between { + 5.025010 => '2017-02-20', + 5.025011 => '2017-03-20', + 5.025012 => '2017-04-20', ++ 5.026000 => '????-??-??', + ); + + for my $version ( sort { $a <=> $b } keys %released ) { +@@ -14095,6 +14096,18 @@ for my $version ( sort { $a <=> $b } keys %released ) { + removed => { + } + }, ++ 5.026000 => { ++ delta_from => 5.025012, ++ changed => { ++ 'B::Op_private' => '5.026000', ++ 'Config' => '5.026', ++ 'Module::CoreList' => '5.20170520', ++ 'Module::CoreList::TieHashDelta'=> '5.20170520', ++ 'Module::CoreList::Utils'=> '5.20170520', ++ }, ++ removed => { ++ } ++ }, + ); + + sub is_core +@@ -14847,6 +14860,13 @@ sub is_core + removed => { + } + }, ++ 5.026000 => { ++ delta_from => 5.025012, ++ changed => { ++ }, ++ removed => { ++ } ++ }, + ); + + %deprecated = _undelta(\%deprecated); +diff --git a/lib/Module/CoreList/TieHashDelta.pm b/lib/Module/CoreList/TieHashDelta.pm +index 1a96e55..4d4a50f 100644 +--- a/lib/Module/CoreList/TieHashDelta.pm ++++ b/lib/Module/CoreList/TieHashDelta.pm +@@ -3,7 +3,7 @@ package Module::CoreList::TieHashDelta; + use strict; + use vars qw($VERSION); + +-$VERSION = '5.20170420'; ++$VERSION = '5.20170520'; + + sub TIEHASH { + my ($class, $changed, $removed, $parent) = @_; +diff --git a/lib/Module/CoreList/Utils.pm b/lib/Module/CoreList/Utils.pm +index a791bfc..a25b244 100644 +--- a/lib/Module/CoreList/Utils.pm ++++ b/lib/Module/CoreList/Utils.pm +@@ -5,7 +5,7 @@ use warnings; + use vars qw[$VERSION %utilities]; + use Module::CoreList; + +-$VERSION = '5.20170420'; ++$VERSION = '5.20170520'; + + sub utilities { + my $perl = shift; +@@ -1256,6 +1256,13 @@ my %delta = ( + removed => { + } + }, ++ 5.026000 => { ++ delta_from => 5.025012, ++ changed => { ++ }, ++ removed => { ++ } ++ }, + ); + + %utilities = Module::CoreList::_undelta(\%delta); +-- +2.9.3 + diff --git a/perl-Module-CoreList.spec b/perl-Module-CoreList.spec index 15da99b..694fe5f 100644 --- a/perl-Module-CoreList.spec +++ b/perl-Module-CoreList.spec @@ -1,12 +1,15 @@ +%global cpan_version 5.20170420 Name: perl-Module-CoreList # Epoch to compete with perl.spec Epoch: 1 -Version: 5.20170420 -Release: 1%{?dist} +Version: 5.20170520 +Release: 0.1%{?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 +# Unbundled from perl git commit bd1a29f218b291165e47d9035aaeec14abd9732e +Patch0: Module-CoreList-5.20170420-Upgrade-to-5.20170520.patch BuildArch: noarch BuildRequires: make BuildRequires: perl @@ -55,7 +58,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 @@ -79,6 +83,9 @@ make test %{_mandir}/man1/corelist.* %changelog +* Thu May 11 2017 Petr Pisar - 1:5.20170520-0.1 +- Upgrade to 5.20170520 as provided in perl's blead git branch + * Fri Apr 21 2017 Petr Pisar - 1:5.20170420-1 - 5.20170420 bump