Package: devscripts
Version: 2.9.26
Severity: normal
Tags: patch

Hello,

~ is a valid (and sometimes needed) character in versions. Please
support it. The attached patch adds support for it to dch -d command.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-amd64
Locale: LANG=lt_LT, LC_CTYPE=lt_LT (charmap=ISO-8859-13)

Versions of packages devscripts depends on:
ii  debianutils                  2.17.3      Miscellaneous utilities specific t
ii  dpkg-dev                     1.13.24     package building tools for Debian
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  perl                         5.8.8-6.1   Larry Wall's Practical Extraction 
ii  sed                          4.1.5-1     The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.5.10     Gives a fake root environment

-- no debconf information
--- /usr/bin/dch.orig   2006-11-24 12:06:17.000000000 +0200
+++ /usr/bin/dch        2006-11-24 12:06:53.000000000 +0200
@@ -733,7 +733,7 @@
        } else {
            my $pwd = basename(cwd());
            # The directory name should be <package>-<version>
-           my $version_chars = '0-9a-zA-Z+\.';
+           my $version_chars = '0-9a-zA-Z+\.~';
            $version_chars .= ':' if defined $EPOCH;
            $version_chars .= '\-' if $UVERSION ne $SVERSION;
            if ($pwd =~ m/^\Q$PACKAGE\E-([0-9][$version_chars]*)$/) {

Reply via email to