From d862e7704c86e7cdec8083932821d905a687d0b1 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 21 Sep 2000 02:47:05 +0000 Subject: [PATCH] r371: * Modified to allow no spaces between control file field name and value (this appears to be logal). --- Debian/Debhelper/Dh_Lib.pm | 6 +++--- debian/changelog | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 42d4097..e71895e 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -271,7 +271,7 @@ sub pkgext { my $package=shift; # 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}) { @@ -371,10 +371,10 @@ sub GetPackages { my $type=shift; while () { 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. diff --git a/debian/changelog b/debian/changelog index 9b2bb0c..5109994 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +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 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 -- 2.39.5