[qmapshack] 02/03: Update watch file to support more version formats.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Aug 25 16:22:32 UTC 2015


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

sebastic pushed a commit to branch master
in repository qmapshack.

commit 68e6a5c7c31bceb89fb7609d7194f4769e292b5a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Aug 25 17:59:12 2015 +0200

    Update watch file to support more version formats.
---
 debian/changelog | 1 +
 debian/watch     | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f930f3e..ec0ce29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 qmapshack (1.3.0-3) UNRELEASED; urgency=medium
 
   * Update Vcs-Browser URL to use HTTPS.
+  * Update watch file to support more version formats.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 25 Aug 2015 17:56:34 +0200
 
diff --git a/debian/watch b/debian/watch
index 039e803..ded5fc2 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=3
-opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \
 https://bitbucket.org/maproom/qmapshack/downloads/ \
-qmapshack-([\d.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+qmapshack-(\d\S+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list