diff --git a/Alien/Package/Deb.pm b/Alien/Package/Deb.pm index 002313c..dd550fb 100644 --- a/Alien/Package/Deb.pm +++ b/Alien/Package/Deb.pm @@ -312,7 +312,7 @@ sub prep { # release or version. Parse changelog to detect that. open (my $changelog, "<$dir/debian/changelog") || return; my $line=<$changelog>; - if ($line=~/^[^ ]+\(([^)])\)\s/) { + if ($line=~/^[^ ]+\s+\(([^)]+)\)\s/) { my $version=$1; if ($version=~/(.*)-(.*)/) { $version=$1; diff --git a/debian/changelog b/debian/changelog index 662c049..59bc7c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +alien (8.34) unstable; urgency=low + +UNRE + * Fixed changelog parsing regexp. Noticed by Gerald Turner who is sure + turning up in this changelog a lot. + + -- Joey Hess Mon, 7 Jul 2003 19:23:33 -0400 + alien (8.33) unstable; urgency=low * Added a new j2sdk patch that does not rename the package.