r21779 - in /trunk/dh-make-perl: debian/changelog debian/control dh-make-perl
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Tue Jun 17 06:15:12 UTC 2008
Author: dmn
Date: Tue Jun 17 06:15:09 2008
New Revision: 21779
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21779
Log:
* replace a call to `date -R` with a call to Email::Date::Format's
email_date function. Avoids a fork. Thanks to Stephen Gran.
+ Add libemail-date-format-perl to Depends.
Modified:
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/debian/control
trunk/dh-make-perl/dh-make-perl
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=21779&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Tue Jun 17 06:15:09 2008
@@ -11,6 +11,9 @@
* fix not detecting arch-dep packages in refresh mode (-R)
* Bump Standards-Version to 3.8.0 (both in dh-make-perl and generated
packages)
+ * replace a call to `date -R` with a call to Email::Date::Format's
+ email_date function. Avoids a fork. Thanks to Stephen Gran.
+ + Add libemail-date-format-perl to Depends.
-- gregor herrmann <gregoa at debian.org> Sun, 18 May 2008 16:12:47 +0200
Modified: trunk/dh-make-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/control?rev=21779&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/control (original)
+++ trunk/dh-make-perl/debian/control Tue Jun 17 06:15:09 2008
@@ -16,8 +16,8 @@
Package: dh-make-perl
Architecture: all
Depends: debhelper (>= 4.0.2), libpod-parser-perl, ${perl:Depends}, make,
- dpkg-dev, fakeroot, ${misc:Depends}, libyaml-perl, libmodule-depends-perl,
- libwww-mechanize-perl
+ dpkg-dev, fakeroot, ${misc:Depends}, libyaml-perl, libmodule-depends-perl,
+ libwww-mechanize-perl, libemail-date-format-perl
Recommends: apt-file (>= 2.1.0), libmodule-build-perl
Description: Create Debian packages from perl modules
dh-make-perl will create the files required to build a Debian source
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=21779&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Tue Jun 17 06:15:09 2008
@@ -10,6 +10,7 @@
use Cwd;
use CPAN;
use Module::Depends::Intrusive;
+use Email::Date::Format qw(email_date);
use strict;
# TODO:
@@ -100,7 +101,7 @@
$min_perl_version = '5.6.10-12';
$bdependsi = "perl (>= $min_perl_version)";
$arch = 'all';
-$date = `date -R`;
+$date = email_date(time);
$startdir = getcwd();
$datadir = '/usr/share/dh-make-perl';
$homedir = "$ENV{HOME}/.dh-make-perl";
More information about the Pkg-perl-cvs-commits
mailing list