of the version in filenames, use (?=[.-]) and (?=\.) instead.
\b doesn't work in case the version ends with ~.
not necessarily available for biarch builds). Instead
build an own representation of the search patch.
+ * scripts/dpkg-source.pl: Don't use \b to match the end
+ of the version in filenames, use (?=[.-]) and (?=\.) instead.
+ \b doesn't work in case the version ends with ~.
+
2006-01-23 Guillem Jover <guillem@debian.org>
Support for architecture wildcards.
Closes: #332826
* Let dpkg-source -b warn about special permissions of files added
in the diff since these will get lost. Closes: #306125
+ * dpkg-source -x didn't work in case the upstream version or
+ the Debian version ended with ~. Fixed.
[ Christian Perrier ]
* Updated Translations:
local $_ = $file;
&error("Files field contains invalid filename `$file'")
- unless s/^\Q$sourcepackage\E_\Q$baseversion\E\b// and
+ unless s/^\Q$sourcepackage\E_\Q$baseversion\E(?=[.-])// and
s/\.(gz|bz2)$//;
- s/^-\Q$revision\E\b// if length $revision;
+ s/^-\Q$revision\E(?=\.)// if length $revision;
&error("repeated file type - files `$seen{$_}' and `$file'") if $seen{$_};
$seen{$_} = $file;