[osrm] 01/07: Improve version matching & mangling in watch file.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Aug 22 19:42:33 UTC 2015


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

sebastic pushed a commit to branch master
in repository osrm.

commit 264c2fa401afcefbcd09f606f2a52d4638bca0ce
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Aug 22 20:02:56 2015 +0200

    Improve version matching & mangling in watch file.
---
 debian/changelog | 7 +++++++
 debian/watch     | 5 +++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2f30d4e..ddf3bd1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+osrm (4.6.1-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Improve version matching & mangling in watch file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 22 Aug 2015 20:02:11 +0200
+
 osrm (4.6.1-1) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/watch b/debian/watch
index 47539f6..5ecba2d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,7 @@
 version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.(tar(?:\.gz|\.bz2)?|tgz)/osrm-backend-$1.$2/ \
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|osrm-backend)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/osrm-backend-$1.$2/ \
 https://github.com/Project-OSRM/osrm-backend/releases \
-.*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+(?:.*?/)?(?:rel|v|osrm\-backend)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list