[prepair] 01/03: Update watch file to handle other tar extensions.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Aug 24 21:38:17 UTC 2015


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

sebastic pushed a commit to branch master
in repository prepair.

commit 63e38ef129f36e50d560fb1681683543536f821f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 24 23:23:40 2015 +0200

    Update watch file to handle other tar extensions.
---
 debian/changelog | 1 +
 debian/watch     | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 550ec35..ca228a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 prepair (0.7-3) UNRELEASED; urgency=medium
 
   * Add gbp.conf to use pristine-tar by default.
+  * Update watch file to handle other tar extensions.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 08 May 2015 14:40:08 +0200
 
diff --git a/debian/watch b/debian/watch
index 82a4af7..ac86c7c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,7 @@
 version=3
-opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
-filenamemangle=s/(?:.*)?v(\d[\d\.]*)\.tar\.gz/prepair-$1.tar.gz/" \
+filenamemangle=s/(?:.*?)?(?:rel|v|prepair)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/prepair-$1.$2/ \
 https://github.com/tudelft3d/prepair/releases \
-(?:.*/)?(?:rel|v|prepair)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+(?:.*?/)?(?:rel|v|prepair)?[\-\_]?(\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/prepair.git



More information about the Pkg-grass-devel mailing list