diff --git a/Exporter-5.70-Upgrade-to-5.72.patch b/Exporter-5.70-Upgrade-to-5.72.patch new file mode 100644 index 0000000..e19a074 --- /dev/null +++ b/Exporter-5.70-Upgrade-to-5.72.patch @@ -0,0 +1,38 @@ +From 6e7210f1ad3f709f846a812ab7db6543af90c477 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 6 May 2015 12:35:17 +0200 +Subject: [PATCH] Upgrade to 5.72 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + lib/Exporter.pm | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/Exporter.pm b/lib/Exporter.pm +index 4930505..0b3db21 100644 +--- a/lib/Exporter.pm ++++ b/lib/Exporter.pm +@@ -9,7 +9,7 @@ require 5.006; + our $Debug = 0; + our $ExportLevel = 0; + our $Verbose ||= 0; +-our $VERSION = '5.70'; ++our $VERSION = '5.72'; + our (%Cache); + + sub as_heavy { +@@ -223,7 +223,7 @@ right. Specifications are in the form: + + [!]name This name only + [!]:DEFAULT All names in @EXPORT +- [!]:tag All names in $EXPORT_TAGS{tag} anonymous list ++ [!]:tag All names in $EXPORT_TAGS{tag} anonymous array + [!]/pattern/ All names in @EXPORT and @EXPORT_OK which match + + A leading ! indicates that matching names should be deleted from the +-- +2.1.0 + diff --git a/perl-Exporter.spec b/perl-Exporter.spec index 59e9790..a8944a1 100644 --- a/perl-Exporter.spec +++ b/perl-Exporter.spec @@ -1,11 +1,14 @@ +%global base_version 5.70 Name: perl-Exporter -Version: 5.70 -Release: 311%{?dist} +Version: 5.72 +Release: 1%{?dist} Summary: Implements default import method for modules License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Exporter/ -Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Exporter-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Exporter-%{base_version}.tar.gz +# Unbundled from perl 5.21.11 +Patch0: Exporter-5.70-Upgrade-to-5.72.patch BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) @@ -32,7 +35,8 @@ provides a highly flexible interface, with an implementation optimized for the common case. %prep -%setup -q -n Exporter-%{version} +%setup -q -n Exporter-%{base_version} +%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor @@ -52,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Wed May 06 2015 Petr Pisar - 5.72-1 +- 5.72 bump in order to dual-live with perl 5.22 + * Sun Sep 07 2014 Jitka Plesnikova - 5.70-311 - Perl 5.20 re-rebuild of bootstrapped packages