[shapelib] 06/13: Add common version mangling in watch file.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Aug 11 00:25:10 UTC 2015


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

sebastic pushed a commit to branch master
in repository shapelib.

commit 5093de4f33cee88ccfc7140e3e8f2ad99c82611b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 10 13:02:45 2015 +0200

    Add common version mangling in watch file.
---
 debian/changelog | 1 +
 debian/watch     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d5cc22d..1977682 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ shapelib (1.3.0-5) UNRELEASED; urgency=medium
   * Update my email to @debian.org address.
   * Add upstream metadata.
   * Update watch file with sepwatch changes. 
+  * Add common version mangling in watch file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 15 Oct 2014 20:32:38 +0200
 
diff --git a/debian/watch b/debian/watch
index fb82590..0c89bc5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,6 @@
 version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
 http://download.osgeo.org/shapelib/ \
 (?:|.*/)shapelib(?:[_\-]v?|)(\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/shapelib.git



More information about the Pkg-grass-devel mailing list