# Get the package version.
my $version=`dpkg-parsechangelog -l$isnative_changelog`;
- ($dh{VERSION})=$version=~m/Version: (.*)/m;
+ ($dh{VERSION})=$version=~m/Version:\s*(.*)/m;
# Did the changelog parse fail?
if (! defined $dh{VERSION}) {
while (<CONTROL>) {
chomp;
s/\s+$//;
- if (/^Package:\s+(.*)/) {
+ if (/^Package:\s*(.*)/) {
$package=$1;
}
- if (/^Architecture:\s+(.*)/) {
+ if (/^Architecture:\s*(.*)/) {
$arch=$1;
}
if (!$_ or eof) { # end of stanza.
+debhelper (2.1.10) unstable; urgency=low
+
+ * Modified to allow no spaces between control file field name and value
+ (this appears to be logal).
+
+ -- Joey Hess <joeyh@debian.org> Tue, 19 Sep 2000 23:13:17 -0700
+
debhelper (2.1.9) unstable; urgency=low
* dh_installmodules: corrected the code added to maintainer scripts so it