[netcdf-fortran] 02/05: Update watch file to handle other tar extensions in filenamemangle.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Jul 27 17:21:48 UTC 2015


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

sebastic pushed a commit to branch master
in repository netcdf-fortran.

commit 27180b93a8f0556c71d18d630574b545f07f7dd7
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jul 27 18:55:37 2015 +0200

    Update watch file to handle other tar extensions in filenamemangle.
---
 debian/changelog | 1 +
 debian/watch     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index be2cd78..061b8cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 netcdf-fortran (4.4.2-1~exp4) UNRELEASED; urgency=medium
 
   * Require at least libnetcdf-dev 4.3.3.1.
+  * Update watch file to handle other tar extensions in filenamemangle.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 27 Jul 2015 18:55:14 +0200
 
diff --git a/debian/watch b/debian/watch
index 55dd378..cae063b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,6 +2,6 @@ version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|gamma|beta|alpha|b|a)[\-\.]?(\d*))$/$1~$3$4/,\
-filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.tar\.gz/netcdf-fortran-$1.tar.gz/ \
+filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/netcdf-fortran-$1.$2/ \
 https://github.com/Unidata/netcdf-fortran/releases \
 (?:.*/)*(?:rel|v|r|netcdf-fortran|)[\-\_]?(\d[\d\-\.\w]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list