[ogdi-dfsg] 01/06: Update watch file for GitHub releases.

Bas Couwenberg sebastic at debian.org
Thu Mar 1 18:25:06 UTC 2018


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

sebastic pushed a commit to branch master
in repository ogdi-dfsg.

commit 74753d689d083ad4fca430b18d1647ef701bda6b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Mar 1 19:14:34 2018 +0100

    Update watch file for GitHub releases.
---
 debian/changelog | 1 +
 debian/copyright | 2 +-
 debian/watch     | 7 ++++---
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bd22dd6..c8ba243 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ ogdi-dfsg (3.2.0+ds-3) UNRELEASED; urgency=medium
   * Strip trailing whitespace from changelog & control files.
   * Update copyright-format URL to use HTTPS.
   * Fix spelling error in patch description.
+  * Update watch file for GitHub releases.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 24 Sep 2017 13:16:04 +0200
 
diff --git a/debian/copyright b/debian/copyright
index c09dc6d..4b56902 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: OGDI
 Upstream-Contact: Frank Warmerdam et al. <warmerdam at pobox.com>
-Source: https://sourceforge.net/projects/ogdi/
+Source: https://github.com/libogdi/ogdi
  Embedded copies of 3rd party code are excluded from the repacked upstream
  tarball.
 Files-Excluded: external/*
diff --git a/debian/watch b/debian/watch
index 162bd19..f030c8b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,8 @@
 version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/[\-\_]/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|ogdi)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/ogdi-$1.$2/;s/_/\./g,\
 repacksuffix=+ds \
-http://sf.net/ogdi/ \
-ogdi-(\d)\.([\d\S]*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+https://github.com/libogdi/ogdi/releases \
+(?:.*?/)?(?:rel|v|ogdi)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list