[SCM] Debian packaging of libbusiness-paypal-api-perl branch, master, updated. 5977b23af1a2e0e0ed525d6533c7149a31313317

Salvatore Bonaccorso carnil at debian.org
Sat Nov 19 08:47:56 UTC 2011


The following commit has been merged in the master branch:
commit 95aed84708219c0d04e49df6ff1d8a9c56f39ff5
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Nov 19 09:39:24 2011 +0100

    Fix deprecated use of qw() as parentheses
    
    Add patch to surround qw() expression in for statement.
    
    See: http://perldoc.perl.org/perl5140delta.html#Use-of-qw(...)-as-parentheses
    
    Thanks: Dean Hamstead <dean at fragfest.com.au>.
    
    Closes: #649237

diff --git a/debian/patches/fix-deprecated-use-of-qw-as-parentheses.patch b/debian/patches/fix-deprecated-use-of-qw-as-parentheses.patch
new file mode 100644
index 0000000..b1ead24
--- /dev/null
+++ b/debian/patches/fix-deprecated-use-of-qw-as-parentheses.patch
@@ -0,0 +1,19 @@
+Description: Fix deprecated use of qw() as parentheses
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=70424
+Bug-Debian: http://bugs.debian.org/649237 
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2011-11-19
+
+--- a/lib/Business/PayPal/API.pm
++++ b/lib/Business/PayPal/API.pm
+@@ -243,7 +243,7 @@
+ 
+     return unless $som;
+ 
+-    for my $field qw( Ack Timestamp CorrelationID Version Build ) {
++    for my $field (qw( Ack Timestamp CorrelationID Version Build )) {
+         $details->{$field} = $som->valueof("$path/$field") || '';
+     }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..68de935
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-deprecated-use-of-qw-as-parentheses.patch

-- 
Debian packaging of libbusiness-paypal-api-perl



More information about the Pkg-perl-cvs-commits mailing list