[osmctools] 11/12: Handle common issues in watch file.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Feb 15 06:21:14 UTC 2016


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

sebastic pushed a commit to branch master
in repository osmctools.

commit 88b78edd6d710ef7ac0a18a9b00e26d3ab34743a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Feb 15 07:14:22 2016 +0100

    Handle common issues in watch file.
---
 debian/changelog | 1 +
 debian/watch     | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f7afdcc..3a19e0a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ osmctools (0.6-1) UNRELEASED; urgency=medium
   * Update Vcs-* URLs to use HTTPS.
   * Bump Standards-Version to 3.9.7, no changes.
   * Enable parallel builds.
+  * Handle common issues in watch file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 15 Feb 2016 06:58:02 +0100
 
diff --git a/debian/watch b/debian/watch
index a37a269..ae4077a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,7 @@
 version=3
-opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/osmctools-$1\.tar\.gz/g \
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/osmctools-$1\.tar\.gz/g \
 https://gitlab.com/osm-c-tools/osmctools/tags \
 .*archive\.tar\.gz\?ref=v?(\d\S*)

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



More information about the Pkg-grass-devel mailing list