[hdf5] 01/03: debian/watch: use dirversionmangle

Gilles Filippini pini at debian.org
Sat Apr 23 10:30:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to branch master
in repository hdf5.

commit c64a6347ab0229f33b2fd79ce868bfb9747b7efc
Author: Gilles Filippini <pini at debian.org>
Date:   Sat Apr 9 18:50:17 2016 +0200

    debian/watch: use dirversionmangle
    
    to have upstream releases properly sorted, such as:
    uscan info: Found the following matching FTP directories (newest first):
       hdf5-1.10.0 (1.10.0)
       hdf5-1.10.0-pre2 (1.10.0~pre2)
       hdf5-1.10.0-pre1 (1.10.0~pre1)
       hdf5-1.10.0-alpha1 (1.10.0~alpha1)
       hdf5-1.10.0-alpha0 (1.10.0~alpha0)
---
 debian/changelog | 7 +++++++
 debian/watch     | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fcf6203..f890e71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+hdf5 (1.8.16+docs-8) UNRELEASED; urgency=medium
+
+  * debian/watch: use dirversionmangle to have upstream versions
+    properly sorted
+
+ -- Gilles Filippini <pini at debian.org>  Sat, 23 Apr 2016 11:38:15 +0200
+
 hdf5 (1.8.16+docs-7) unstable; urgency=medium
 
   * debian/rules: fix typo preventing odc installation.
diff --git a/debian/watch b/debian/watch
index 975dfc0..930e239 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=3
-opts="dversionmangle=s/\+docs\d*$//,uversionmangle=s/-(alpha|pre)/~\\1/" \
+opts="dversionmangle=s/\+docs\d*$//;s/~(alpha|pre)/-\\1/,dirversionmangle=s/-(alpha|pre)/~\\1/" \
 	ftp://ftp.hdfgroup.org/HDF5/releases/hdf5-(.*)/hdf5-(.*)/src/ \
 	hdf5-(.*).tar.gz \
 	debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf5.git



More information about the Pkg-grass-devel mailing list