]> err.no Git - dpkg/commit
dpkg-genchanges: use Package-Type control field to detect udebs
authorRaphael Hertzog <hertzog@debian.org>
Mon, 14 Apr 2008 19:31:52 +0000 (21:31 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Tue, 15 Apr 2008 06:28:54 +0000 (08:28 +0200)
commit43cfe89b684b4a51d0bc8c25f62949dbad1c8e43
tree60531c5bc2176748b84ff9ecdaa06797e8e3971c
parent4cc394a0dd81a4321eb5ca91956eba1a755b9b71
dpkg-genchanges: use Package-Type control field to detect udebs

* scripts/Dpkg/Fields.pm (find_custom_field, get_custom_field):
New function to handle custom fields (X[SBC]*-*).
* scripts/dpkg-genchanges.pl: Use Package-Type control field to
decide if a package is an udeb instead of relying on the file
extension of a generated package since that doesn't work when
generating source-only uploads for example.
ChangeLog
debian/changelog
scripts/Dpkg/Fields.pm
scripts/dpkg-genchanges.pl