[SCM] Debian packaging of libdata-random-perl branch, master, updated. 4e67fd28aea4d4de232d126beab9deb843634471
gregor herrmann
gregoa at debian.org
Sat Nov 26 16:47:27 UTC 2011
The following commit has been merged in the master branch:
commit d7d55e762fd15a4aaf7234b5bf0cae50e16e429a
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Nov 26 17:42:03 2011 +0100
Disable 30rand_time.patch, refresh remaining patches.
diff --git a/debian/patches/10dict_location.patch b/debian/patches/10dict_location.patch
index fcea34e..4c2922d 100644
--- a/debian/patches/10dict_location.patch
+++ b/debian/patches/10dict_location.patch
@@ -1,21 +1,23 @@
-## 10dict_location.patch by <gregor+debian at comodo.priv.at>
-##
-## Change /usr/dict/words to /usr/share/dict/words to reflect FHS.
+Description: Change /usr/dict/words to /usr/share/dict/words to reflect FHS.
+Origin: vendor
+Forwarded: not needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-11-26
---- a/Random/WordList.pm
-+++ b/Random/WordList.pm
-@@ -127,7 +127,7 @@ Data::Random::WordList - Perl module to
+--- a/lib/Data/Random/WordList.pm
++++ b/lib/Data/Random/WordList.pm
+@@ -130,7 +130,7 @@
use Data::Random::WordList;
-
+
- my $wl = new Data::Random::WordList( wordlist => '/usr/dict/words' );
+ my $wl = new Data::Random::WordList( wordlist => '/usr/share/dict/words' );
my @rand_words = $wl->get_words(10);
---- a/Random.pm
-+++ b/Random.pm
-@@ -579,7 +579,7 @@ This returns a list of random words give
+--- a/lib/Data/Random.pm
++++ b/lib/Data/Random.pm
+@@ -580,7 +580,7 @@
=item *
diff --git a/debian/patches/20man_hyphen.patch b/debian/patches/20man_hyphen.patch
index 4105932..2307557 100644
--- a/debian/patches/20man_hyphen.patch
+++ b/debian/patches/20man_hyphen.patch
@@ -1,10 +1,12 @@
-## 20man_hyphen.patch by <gregor+debian at comodo.priv.at>
-##
-## lintian complains about hyphen vs. minus
+Description: fix pod
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-11-26
---- a/Random.pm
-+++ b/Random.pm
-@@ -681,7 +681,7 @@ set - the set of strings to be used. Th
+--- a/lib/Data/Random.pm
++++ b/lib/Data/Random.pm
+@@ -682,7 +682,7 @@
=head2 rand_date()
@@ -12,4 +14,4 @@
+This returns a random date in the form "YYYY-MM-DD". 2-digit years are not currently supported. Efforts are made to make sure you're returned a truly valid date - ie, you'll never be returned the date February 31st. See the options below to find out how to control the date range. Here are a few examples:
# returns a date somewhere in between the current date, and one year from the current date
- $date = rand_date();
+ $date = rand_date();
diff --git a/debian/patches/30rand_time.patch b/debian/patches/30rand_time.patch
index 1d80bc8..5fe2e4a 100644
--- a/debian/patches/30rand_time.patch
+++ b/debian/patches/30rand_time.patch
@@ -1,7 +1,11 @@
-## 30rand_time.patch by Niko Tyni <ntyni at iki.fi>
-##
-## Fix an occasional test failure when rand_time() returns "00:00:00".
-## Debian bug #427188, CPAN bug 27392
+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
diff --git a/debian/patches/40rand_datetime.patch b/debian/patches/40rand_datetime.patch
index a27f1a4..d5b505e 100644
--- a/debian/patches/40rand_datetime.patch
+++ b/debian/patches/40rand_datetime.patch
@@ -1,6 +1,15 @@
+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 @@ SKIP: {
+@@ -35,7 +35,7 @@
$pass = 0
unless $delta >= 0 && $delta <= $max_days
@@ -9,7 +18,7 @@
$i++;
}
-@@ -59,7 +59,7 @@ SKIP: {
+@@ -59,7 +59,7 @@
$pass = 0
unless $delta >= 0 && $delta <= $max_days
@@ -18,7 +27,7 @@
$i++;
}
-@@ -89,7 +89,7 @@ SKIP: {
+@@ -89,7 +89,7 @@
$pass = 0
unless $delta >= 0 && $delta <= $max_days
@@ -27,7 +36,7 @@
$i++;
}
-@@ -121,7 +121,7 @@ SKIP: {
+@@ -121,7 +121,7 @@
$pass = 0
unless $delta >= 0 && $delta <= $max_days
@@ -36,7 +45,7 @@
$i++;
}
-@@ -139,7 +139,7 @@ SKIP: {
+@@ -139,7 +139,7 @@
$pass = 0
unless $new_year == $year && $new_month == $month && $new_day == $day
diff --git a/debian/patches/series b/debian/patches/series
index b3a48ff..701e073 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
10dict_location.patch
20man_hyphen.patch
-30rand_time.patch
+#30rand_time.patch
40rand_datetime.patch
--
Debian packaging of libdata-random-perl
More information about the Pkg-perl-cvs-commits
mailing list