* scripts/dpkg-genchanges.pl: As documented by deb-substvars(5), one can
use the ${Format} substvar to override the format of the .changes file.
+2008-01-17 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/dpkg-genchanges.pl: Reinstate support of the ${Format}
+ substvars.
+
2008-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>,
Guillem Jover <guillem@debian.org>
my $since;
my $substvars = Dpkg::Substvars->new();
+$substvars->set("Format", $changes_format);
use constant SOURCE => 1;
use constant ARCH_DEP => 2;
print(STDERR "$progname: $origsrcmsg\n") ||
&syserr(_g("write original source message")) unless $quiet;
-$fields->{'Format'} = $changes_format;
+$fields->{'Format'} = '${Format}'; # Use value stored in substvars
if (!defined($fields->{'Date'})) {
chomp(my $date822 = `date -R`);