Package: dpkg-dev-el
Version: 26.6-1
Severity: normal
Tags: patch

Please, allow tilde (~) in version numbers in debian/changelog (cf
http://lists.debian.org/debian-devel-announce/2006/08/msg00006.html).
Trivial patch attached below.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dpkg-dev-el depends on:
ii  debian-el                     24.11-1    Emacs helpers specific to Debian u
ii  emacs21 [emacsen]             21.4a-3    The GNU Emacs editor
ii  xemacs21-mule [emacsen]       21.4.17-2  highly customizable text editor --
ii  xemacs21-nomule [emacsen]     21.4.17-2  highly customizable text editor --

Versions of packages dpkg-dev-el recommends:
ii  wget                  1.10-3+1.10.1beta1 retrieves files from the web

-- no debconf information

--- debian-changelog-mode.el    2006-08-11 17:30:52.774291112 +0200
+++ debian-changelog-mode.el-new        2006-08-11 17:30:21.367513448 +0200
@@ -1353,7 +1353,7 @@
 ;;; The following is not strictly correct.  The upstream version may actually
 ;;; contain a hyphen if a debian version number also exists, making two hyphens
 ;;; I'm assuming it begins with a digit, which is not enforced
-         "^\\(\\S-+\\) 
+(\\([0-9]:\\)?\\([0-9][0-9a-zA-Z.+:]*\\)\\(-\\([0-9a-zA-Z.+]+\\)\\)*)" nil t)
+         "^\\(\\S-+\\) 
+(\\([0-9]:\\)?\\([0-9][0-9a-zA-Z.+:~]*\\)\\(-\\([0-9a-zA-Z.+]+\\)\\)*)" nil t)
 ;;                                                                             
            ^
 ;; Note the asterix above, allowing more than one hyphen in the version
 ;; number, but wrongly assuming that all of it is the Debian version

Reply via email to