commit 4dc5d89cbde536c8bb04667127417b1e5daaf84c Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Jul 24 12:13:44 2013 +0200 Perl 5.18 compatibility ...mper-2.01-qw-does-not-produce-parentheses.patch | 31 ++++++++++++++++++++ perl-DBI-Dumper.spec | 4 ++ 2 files changed, 35 insertions(+), 0 deletions(-) --- diff --git a/DBI-Dumper-2.01-qw-does-not-produce-parentheses.patch b/DBI-Dumper-2.01-qw-does-not-produce-parentheses.patch new file mode 100644 index 0000000..22fe9d9 --- /dev/null +++ b/DBI-Dumper-2.01-qw-does-not-produce-parentheses.patch @@ -0,0 +1,31 @@ +From 760445e637138c55ec7027b0b087e72dc5ba1880 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> +Date: Wed, 24 Jul 2013 12:09:22 +0200 +Subject: [PATCH] qw does not produce parentheses +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +<https://rt.cpan.org/Public/Bug/Display.html?id=87243> + +Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx> +--- + lib/DBI/Dumper.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/DBI/Dumper.pm b/lib/DBI/Dumper.pm +index 3335028..abf7a10 100644 +--- a/lib/DBI/Dumper.pm ++++ b/lib/DBI/Dumper.pm +@@ -322,7 +322,7 @@ sub execute { + ? $start_line_num + $self->{export} : undef; + + # make sure variables are set to something +- for my $var qw(left_delim right_delim escape terminator) { ++ for my $var (qw(left_delim right_delim escape terminator)) { + $self->{$var} = defined $self->{$var} ? $self->{$var} : ''; + } + +-- +1.8.1.4 + diff --git a/perl-DBI-Dumper.spec b/perl-DBI-Dumper.spec index 3161c3d..1295151 100644 --- a/perl-DBI-Dumper.spec +++ b/perl-DBI-Dumper.spec @@ -7,6 +7,8 @@ License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DBI-Dumper/ Source0: http://www.cpan.org/authors/id/W/WS/WSMITH/DBI-Dumper-%{version}.tar.gz +# Perl 5.18 compatibility, CPAN RT#87243 +Patch0: DBI-Dumper-2.01-qw-does-not-produce-parentheses.patch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # core @@ -33,6 +35,7 @@ sql*loader options. %prep %setup -q -n DBI-Dumper-%{version} +%patch0 -p1 # include some licensing information from the rt.cpan.org bug, as it's # not yet included in the package proper @@ -84,6 +87,7 @@ make test %changelog * Wed Jul 24 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.01-21 - Perl 5.18 rebuild +- Perl 5.18 compatibility (CPAN RT#87243) * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.01-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel