Package: sbuild
Version: 0.53
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 sbuild-0.53.orig/sbuild sbuild-0.53/sbuild
--- sbuild-0.53.orig/sbuild	2007-02-10 21:52:51.000000000 +0200
+++ sbuild-0.53/sbuild	2007-03-22 05:09:43.000000000 +0200
@@ -720,7 +720,7 @@
 			$firstline =~ /^(\S+)\s+\((\S+)\)\s+([^;]+)\s*;\s*urgency=(\S+)\s*$/;
 			my ($name, $version, $dists, $urgent) = ($1, $2, $3, $4);
 			my $NMUversion = binNMU_version($version,$main::binNMUver);
-			chomp( my $date = `822-date` );
+			chomp( my $date = `date -R` );
 			if (!open( F, ">debian/changelog" )) {
 				print PLOG "Can't open debian/changelog for binNMU hack: $!\n";
 				chdir( $main::cwd );

Reply via email to