[mipp] 01/01: Update watch file to handle common issues.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Feb 21 15:35:53 UTC 2016


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

sebastic pushed a commit to branch master
in repository mipp.

commit ac13803a94a93bead5f987794e6d5da9b789a6c7
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 21 16:27:51 2016 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 964448d..b428b53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 mipp (0.9.1-3) unstable; urgency=medium
 
+  [ Antonio Valentino ]
   * Fix debian/watch file
   * debian/gbp.conf added
   * debian/control
@@ -8,6 +9,9 @@ mipp (0.9.1-3) unstable; urgency=medium
   * debian/rules
     - switch to pybuild
 
+  [ Bas Couwenberg ]
+  * Update watch file to handle common issues.
+
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 21 Feb 2016 11:48:52 +0000
 
 mipp (0.9.1-2) unstable; urgency=high
diff --git a/debian/watch b/debian/watch
index ffc11f6..c252416 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/mipp-$1\.tar\.gz/ \
-  https://github.com/pytroll/mipp/releases .*/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|mipp)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/mipp-$1.$2/ \
+https://github.com/pytroll/mipp/releases \
+(?:.*?/)?(?:rel|v|mipp)?[\-\_]?(\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/mipp.git



More information about the Pkg-grass-devel mailing list