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

Gilles Filippini pini at debian.org
Sat Apr 9 17:37:51 UTC 2016


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

pini pushed a commit to branch master-1.10
in repository hdf5.

commit add911a1f0d76db173bcc292c736b29c9a3a2297
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/watch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index 5086a5f..930e239 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=3
-opts="dversionmangle=s/\+docs\d*$//;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