[libdata-random-perl] 03/07: Drop patch 40rand_datetime.patch; merged upstream.

gregor herrmann gregoa at debian.org
Wed Sep 18 17:51:43 UTC 2013


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libdata-random-perl.

commit a733879dc8bad5255bda00a72b94b48a9e513010
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Sep 18 19:44:21 2013 +0200

    Drop patch 40rand_datetime.patch; merged upstream.
    
    Also removed unused 30rand_time.patch from source package.
---
 debian/patches/30rand_time.patch     |   20 ------------
 debian/patches/40rand_datetime.patch |   56 ----------------------------------
 debian/patches/series                |    2 --
 3 files changed, 78 deletions(-)

diff --git a/debian/patches/30rand_time.patch b/debian/patches/30rand_time.patch
deleted file mode 100644
index 5fe2e4a..0000000
--- a/debian/patches/30rand_time.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Description: Fix an occasional test failure when rand_time() returns "00:00:00".
-Origin: vendor
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=27392
-Bug-Debian: http://bugs.debian.org/427188
-Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=27392
-Author: Niko Tyni <ntyni at iki.fi>
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2011-11-26
-
---- a/t/rand_time.t
-+++ b/t/rand_time.t
-@@ -16,7 +16,7 @@ use Data::Random qw( rand_time );
-     while ( $pass && $i < $max_secs ) {
-         my $time = rand_time();
- 
--        $pass = 0 unless _to_secs($time);
-+        $pass = 0 unless defined _to_secs($time);
- 
-         $i++;
-     }
diff --git a/debian/patches/40rand_datetime.patch b/debian/patches/40rand_datetime.patch
deleted file mode 100644
index d5b505e..0000000
--- a/debian/patches/40rand_datetime.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-Description: Fix test failures when rand_time() returns "00:00:00".
-Origin: vendor
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=27392
-Bug-Debian: http://bugs.debian.org/441746
-Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=27392
-Author: Damyan Ivanov <dmn at debian.org>
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2011-11-26
-
---- a/t/rand_datetime.t
-+++ b/t/rand_datetime.t
-@@ -35,7 +35,7 @@
- 
-             $pass = 0
-               unless $delta >= 0 && $delta <= $max_days
--              && _to_secs( ( split ( / /, $date ) )[1] );
-+              && defined( _to_secs( ( split ( / /, $date ) )[1] ) );
- 
-             $i++;
-         }
-@@ -59,7 +59,7 @@
- 
-             $pass = 0
-               unless $delta >= 0 && $delta <= $max_days
--              && _to_secs( ( split ( / /, $date ) )[1] );
-+              && defined( _to_secs( ( split ( / /, $date ) )[1] ) );
- 
-             $i++;
-         }
-@@ -89,7 +89,7 @@
- 
-             $pass = 0
-               unless $delta >= 0 && $delta <= $max_days
--              && _to_secs( ( split ( / /, $date ) )[1] );
-+              && defined( _to_secs( ( split ( / /, $date ) )[1] ) );
- 
-             $i++;
-         }
-@@ -121,7 +121,7 @@
- 
-             $pass = 0
-               unless $delta >= 0 && $delta <= $max_days
--              && _to_secs( ( split ( / /, $date ) )[1] );
-+              && defined( _to_secs( ( split ( / /, $date ) )[1] ) );
- 
-             $i++;
-         }
-@@ -139,7 +139,7 @@
- 
-         $pass = 0
-           unless $new_year == $year && $new_month == $month && $new_day == $day
--          && _to_secs( ( split ( / /, $date ) )[1] );
-+          && defined( _to_secs( ( split ( / /, $date ) )[1] ) );
- 
-         ok($pass);
-     }
diff --git a/debian/patches/series b/debian/patches/series
index 701e073..6512cf9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,2 @@
 10dict_location.patch
 20man_hyphen.patch
-#30rand_time.patch
-40rand_datetime.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-random-perl.git



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