[iortcw] 01/01: debian/watch: strip +dfsg1 suffix when comparing versions even if working from a release and not a datestamped snapshot

Simon McVittie smcv at debian.org
Sat Nov 26 11:51:33 UTC 2016


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

smcv pushed a commit to branch debian/master
in repository iortcw.

commit bd479c21fa101a2e8218ccb4de814d160de9c5ea
Author: Simon McVittie <smcv at debian.org>
Date:   Sat Nov 26 11:50:58 2016 +0000

    debian/watch: strip +dfsg1 suffix when comparing versions even if working from a release and not a datestamped snapshot
---
 debian/changelog | 2 ++
 debian/watch     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0adc9ee..918600f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ iortcw (1.50a+dfsg1-2) UNRELEASED; urgency=medium
 
   * Drop unused libspeexdsp-dev build-dependency
     (VoIP is now done using the Opus codec)
+  * debian/watch: strip +dfsg1 suffix when comparing versions even if
+    working from a release and not a datestamped snapshot
 
  -- Simon McVittie <smcv at debian.org>  Thu, 24 Nov 2016 11:31:34 +0000
 
diff --git a/debian/watch b/debian/watch
index 0ab25fa..5f02e67 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=4
-opts="filenamemangle=s/.+\/(\d\S*)\.tar\.gz/iortcw-$1\.tar\.gz/,uversionmangle=s/^(\d+\.\d)([a-z])$/${1}0${2}/,dversionmangle=s/\+[0-9]{8}\+dfsg[0-9]+$//" \
+opts="filenamemangle=s/.+\/(\d\S*)\.tar\.gz/iortcw-$1\.tar\.gz/,uversionmangle=s/^(\d+\.\d)([a-z])$/${1}0${2}/,dversionmangle=s/(\+[0-9]{8})?\+dfsg[0-9]+$//" \
   https://github.com/iortcw/iortcw/tags .*/(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list