[pyspatialite] 01/07: Mangle upstream version in watch file to handle with -alpha release.

Bas Couwenberg sebastic at xs4all.nl
Sat Mar 22 15:12:50 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository pyspatialite.

commit ad4be8bd69848169fc98d9f315147eb0d8dbbd42
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Mar 22 15:00:02 2014 +0100

    Mangle upstream version in watch file to handle with -alpha release.
---
 debian/changelog | 6 ++++++
 debian/watch     | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 59a9a22..751c590 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pyspatialite (3.0.1-6) UNRELEASED; urgency=low
+
+  * Mangle upstream version in watch file to handle with -alpha release.
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Sat, 22 Mar 2014 14:58:53 +0100
+
 pyspatialite (3.0.1-5) unstable; urgency=low
 
   * Add gbp.conf to use pristine-tar by default.
diff --git a/debian/watch b/debian/watch
index 031810f..88afce0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 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$3/ \
 http://pypi.python.org/packages/source/p/pyspatialite/ (?:|.*/)pyspatialite[_\-](\d+\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

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



More information about the Pkg-grass-devel mailing list