Package: heimdal
Version: 1.4.0~git20100322.dfsg.2-1
Severity: wishlist
Tags: patch

Not that it matters at the moment, since the current versions are Git
snapshots, but it will probably matter again eventually.  Attached is
a patch to debian/watch that does the proper mangling for release
candidate versions so that 1.3.2rc4 is not considered later than
1.3.2.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
commit 0b69d1f43c466f2029846f76addb2e104fa62054
Author: Russ Allbery <r...@stanford.edu>
Date:   Mon Mar 29 15:53:54 2010 -0700

    Fix watch file to mangle upstream release candidates
    
    * Fix watch file to properly mangle upstream release candidate
      versions.

diff --git a/debian/watch b/debian/watch
index fc9537b..1c41148 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=dversionmangle=s/\.dfsg\.\d+$// \
+opts=dversionmangle=s/\.dfsg\.\d+$//,uversionmangle=s/(rc\d)/~$1/ \
   http://www.h5l.org/dist/src/heimdal-(.*)\.tar\.gz

Reply via email to