Package: dpkg-repack
Version: 1.25
Severity: wishlist
Tags: patch

Hi,

dpkg version 1.14.0 (currently in svn, but will be upload to
experimental soon) is going to deprecate 822-date, which is going
to become for now just a wrapper for 'date -R', and print a warning.
The attached patch fixes this.

regards,
guillem
diff -Naur dpkg-repack-1.25.orig/dpkg-repack dpkg-repack-1.25/dpkg-repack
--- dpkg-repack-1.25.orig/dpkg-repack	2006-11-08 23:29:28.000000000 +0200
+++ dpkg-repack-1.25/dpkg-repack	2007-03-22 05:08:09.000000000 +0200
@@ -102,7 +102,7 @@
 		}
 	}
 	if ($indesc) {
-		my $date=`822-date`;
+		my $date=`date -R`;
 		chomp $date;
 		$control[$x-1]=$control[$x-1]." .\n"." (Repackaged on $date by dpkg-repack.)";
 	}

Reply via email to