summaryrefslogtreecommitdiff
path: root/scripts/dpkg-genchanges.pl
diff options
context:
space:
mode:
authorRaphael Hertzog <hertzog@debian.org>2008-04-02 08:51:03 +0200
committerRaphael Hertzog <hertzog@debian.org>2008-04-02 09:10:18 +0200
commitdddfbefcb95c0b5e36fe1ad7fea8e4e89650fddf (patch)
treee91db7b633b381063d8078b2856d2a9ae0e2c8ee /scripts/dpkg-genchanges.pl
parent91ea84c526de013b0301aa7bc67cd9d426065553 (diff)
downloaddpkg-dddfbefcb95c0b5e36fe1ad7fea8e4e89650fddf.tar.gz
Ensure the Files field is last in *.dsc and *.changes
* scripts/Dpkg/Source/Package.pm, scripts/dpkg-genchanges.pl: Explicitely put Checksums-* fields before the Files field so that the Files field is last. This is a work-around for some braindead dsc parsers (dupload and sbuild for instance, see #473518 and
Diffstat (limited to 'scripts/dpkg-genchanges.pl')
-rwxr-xr-xscripts/dpkg-genchanges.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl
index b125fd994..c886cd3d0 100755
--- a/scripts/dpkg-genchanges.pl
+++ b/scripts/dpkg-genchanges.pl
@@ -25,7 +25,8 @@ textdomain("dpkg-dev");
my @changes_fields = qw(Format Date Source Binary Architecture Version
Distribution Urgency Maintainer Changed-By
- Description Closes Changes Files);
+ Description Closes Changes Checksums-Md5
+ Checksums-Sha1 Checksums-Sha256 Files);
my $controlfile = 'debian/control';
my $changelogfile = 'debian/changelog';