[netcdf] 05/06: Update watch file to handle more tag conventions in filenamemangle.

Bas Couwenberg sebastic at debian.org
Tue Jun 21 05:52:31 UTC 2016


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

sebastic pushed a commit to branch master
in repository netcdf.

commit 1722c0a3b24b1fc06cae43d14f2a08c69955b8e6
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Jun 21 07:41:36 2016 +0200

    Update watch file to handle more tag conventions in filenamemangle.
---
 debian/changelog | 1 +
 debian/watch     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1cc77b7..185ef35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ netcdf (1:4.4.1~rc3-1) UNRELEASED; urgency=medium
 
   * New upstream release candidate.
   * Drop source_date_epoch.patch, applied upstream.
+  * Update watch file to handle more tag conventions in filenamemangle.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 21 Jun 2016 07:11:01 +0200
 
diff --git a/debian/watch b/debian/watch
index 64006c1..a7e0d74 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/;s/RC/rc/,\
-filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/netcdf-c-$1.$2/ \
+filenamemangle=s/(?:.*?\/)?(?:rel|v|r|netcdf-c)?[\-\_]?(\d[\d\-\.\w]+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/netcdf-c-$1.$2/ \
 https://github.com/Unidata/netcdf-c/releases \
-(?:.*/)*(?:rel|v|r|netcdf-c|)[\-\_]?(\d[\d\-\.\w]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+(?:.*/)*(?:rel|v|r|netcdf-c)?[\-\_]?(\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.git



More information about the Pkg-grass-devel mailing list