Package: dh-make
Version: 0.42
Severity: wishlist
Tags: patch

Since dates written to changelogs are going to be read by people all over the
world, IMHO it is better if these dates are in UTC to make it easier to
figure out when it was uploaded in comparison to other events (such as the
upload of a related package, etc).

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)

Versions of packages dh-make depends on:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

dh-make recommends no packages.

-- no debconf information
diff -ur dh-make-0.42.old/dh_make dh-make-0.42/dh_make
--- dh-make-0.42.old/dh_make    2006-10-30 04:16:02.000000000 +0100
+++ dh-make-0.42/dh_make        2007-04-02 09:49:58.000000000 +0200
@@ -319,13 +319,13 @@
 sub get_date
 {
   my $tmpdate;
-  if (-x "/usr/bin/822-date")
+  if (-x "/bin/date")
   {
-    $tmpdate = `/usr/bin/822-date`;
+    $tmpdate = `/bin/date -uR`;
     chomp($tmpdate);
     return $tmpdate;
   } else {
-    die "Unable to find 822-date program in /usr/bin!\n";
+    die "Unable to find date program in /bin!\n";
   }
 }
 

Reply via email to