[epr-api] 03/04: Update watch file to handle common issues.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Feb 27 11:15:01 UTC 2016


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

sebastic pushed a commit to branch master
in repository epr-api.

commit 0ea64fae144d90fe3e2d6613e3aa842c0e1f0d0b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Feb 27 12:10:00 2016 +0100

    Update watch file to handle common issues.
---
 debian/changelog |  1 +
 debian/watch     | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b5d6647..258565b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ epr-api (2.3~dev20150708-2) UNRELEASED; urgency=medium
   * Team upload.
   * Update Vcs-Git URL to use HTTPS.
   * Update GitHub URLs to use HTTPS.
+  * Update watch file to handle common issues.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 27 Feb 2016 12:11:11 +0100
 
diff --git a/debian/watch b/debian/watch
index cbe6377..1b0d452 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,7 @@
-# Compulsory line, this is a version 3 file
 version=3
-
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/epr-api-$1\.tar\.gz/ \
-  https://github.com/bcdev/epr-api/tags .*/v?(\d\S*)\.tar\.gz
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|epr-api)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/epr-api-$1.$2/ \
+https://github.com/bcdev/epr-api/tags \
+(?:.*?/)?(?:rel|v|epr-api)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list