r5563 - in /packages/libdata-random-perl/trunk/debian: changelog control patches/30rand_time.dpatch

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Sat Jun 2 18:15:41 UTC 2007


Author: ntyni-guest
Date: Sat Jun  2 18:15:40 2007
New Revision: 5563

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=5563
Log:
fix for #427188

Added:
    packages/libdata-random-perl/trunk/debian/patches/30rand_time.dpatch   (with props)
Modified:
    packages/libdata-random-perl/trunk/debian/changelog
    packages/libdata-random-perl/trunk/debian/control

Modified: packages/libdata-random-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/changelog?rev=5563&op=diff
==============================================================================
--- packages/libdata-random-perl/trunk/debian/changelog (original)
+++ packages/libdata-random-perl/trunk/debian/changelog Sat Jun  2 18:15:40 2007
@@ -1,3 +1,11 @@
+libdata-random-perl (0.05-2) unstable; urgency=medium
+
+  * debian/patches/30rand_time.dpatch: fix test failure happening
+    with a probability of about 7%. (Closes: #427188)
+  * Urgency set to medium because of an RC bug fix.
+
+ -- Niko Tyni <ntyni at iki.fi>  Sat,  2 Jun 2007 21:13:48 +0300
+
 libdata-random-perl (0.05-1) unstable; urgency=low
 
   * Initial Release (closes: #370485).

Modified: packages/libdata-random-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/control?rev=5563&op=diff
==============================================================================
--- packages/libdata-random-perl/trunk/debian/control (original)
+++ packages/libdata-random-perl/trunk/debian/control Sat Jun  2 18:15:40 2007
@@ -4,7 +4,7 @@
 Build-Depends: debhelper (>= 5.0.0), dpatch
 Build-Depends-Indep: perl (>= 5.8.0-7), libdate-calc-perl, libgd-gd2-perl | libgd-gd2-noxpm-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
+Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Niko Tyni <ntyni at iki.fi>
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/packages/libdata-random-perl/trunk/
 

Added: packages/libdata-random-perl/trunk/debian/patches/30rand_time.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdata-random-perl/trunk/debian/patches/30rand_time.dpatch?rev=5563&op=file
==============================================================================
--- packages/libdata-random-perl/trunk/debian/patches/30rand_time.dpatch (added)
+++ packages/libdata-random-perl/trunk/debian/patches/30rand_time.dpatch Sat Jun  2 18:15:40 2007
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30rand_time.dpatch by Niko Tyni <ntyni at iki.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix an occasional test failure when rand_time() returns "00:00:00".
+## DP: Debian bug #427188, CPAN bug 27392
+
+ at DPATCH@
+diff -urNad trunk~/t/rand_time.t trunk/t/rand_time.t
+--- trunk~/t/rand_time.t	2007-06-02 21:11:54.000000000 +0300
++++ trunk/t/rand_time.t	2007-06-02 21:12:31.000000000 +0300
+@@ -16,7 +16,7 @@
+     while ( $pass && $i < $max_secs ) {
+         my $time = rand_time();
+ 
+-        $pass = 0 unless _to_secs($time);
++        $pass = 0 unless defined _to_secs($time);
+ 
+         $i++;
+     }

Propchange: packages/libdata-random-perl/trunk/debian/patches/30rand_time.dpatch
------------------------------------------------------------------------------
    svn:executable = *




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