r74208 - in /trunk/libtest-lectrotest-perl/debian: changelog control patches/series patches/universal.patch

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Wed May 11 22:31:40 UTC 2011


Author: periapt-guest
Date: Wed May 11 22:31:30 2011
New Revision: 74208

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74208
Log:
Added patch to avoid deprecated code (Closes: #614872)

Added:
    trunk/libtest-lectrotest-perl/debian/patches/universal.patch
Modified:
    trunk/libtest-lectrotest-perl/debian/changelog
    trunk/libtest-lectrotest-perl/debian/control
    trunk/libtest-lectrotest-perl/debian/patches/series

Modified: trunk/libtest-lectrotest-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-lectrotest-perl/debian/changelog?rev=74208&op=diff
==============================================================================
--- trunk/libtest-lectrotest-perl/debian/changelog (original)
+++ trunk/libtest-lectrotest-perl/debian/changelog Wed May 11 22:31:30 2011
@@ -17,6 +17,7 @@
   * Added debian/source/format
   * Refreshed copyright
   * Added patch for spelling error
+  * Added patch to avoid deprecated code (Closes: #614872)
 
  -- Maximilian Gass <mxey at cloudconnected.org>  Tue, 18 Aug 2009 02:12:42 +0200
 

Modified: trunk/libtest-lectrotest-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-lectrotest-perl/debian/control?rev=74208&op=diff
==============================================================================
--- trunk/libtest-lectrotest-perl/debian/control (original)
+++ trunk/libtest-lectrotest-perl/debian/control Wed May 11 22:31:30 2011
@@ -1,8 +1,8 @@
 Source: libtest-lectrotest-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), libmodule-build-perl, libtest-pod-perl, libtest-pod-coverage-perl
-Build-Depends-Indep: perl
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Maximilian Gass <mxey at cloudconnected.org>,
  Nicholas Bamber <nicholas at periapt.co.uk>

Modified: trunk/libtest-lectrotest-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-lectrotest-perl/debian/patches/series?rev=74208&op=diff
==============================================================================
--- trunk/libtest-lectrotest-perl/debian/patches/series (original)
+++ trunk/libtest-lectrotest-perl/debian/patches/series Wed May 11 22:31:30 2011
@@ -1,1 +1,2 @@
 spelling.patch
+universal.patch

Added: trunk/libtest-lectrotest-perl/debian/patches/universal.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-lectrotest-perl/debian/patches/universal.patch?rev=74208&op=file
==============================================================================
--- trunk/libtest-lectrotest-perl/debian/patches/universal.patch (added)
+++ trunk/libtest-lectrotest-perl/debian/patches/universal.patch Wed May 11 22:31:30 2011
@@ -1,0 +1,29 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Subject: UNIVERSAL->import deprecated in perl 5.12
+Last-Update: 2011-05-11
+Bug: http://rt.cpan.org/Ticket/Display.html?id=66114
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614872
+--- a/lib/Test/LectroTest/TestRunner.pm
++++ b/lib/Test/LectroTest/TestRunner.pm
+@@ -2,9 +2,7 @@
+ 
+ use strict;
+ use warnings;
+-
+-use UNIVERSAL qw( isa );
+-
++use Scalar::Util qw(blessed);
+ use Carp;
+ use Data::Dumper;
+ 
+@@ -399,7 +397,9 @@
+ 
+ =cut
+ 
+-sub _prop($) { isa $_[0], "Test::LectroTest::Property" }
++sub _prop($) {
++    return blessed $_[0] && $_[0]->isa("Test::LectroTest::Property");
++}
+ 
+ sub run_suite {
+     local $| = 1;




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