[iortcw] 06/09: d/watch: Mangle version number so the trailing "b" is not considered to be less than +dfsg

Simon McVittie smcv at debian.org
Fri Sep 8 10:35:27 UTC 2017


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

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

commit c9e5e355fb4a5b2632c9878968521050ea14c4a6
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Sep 8 11:15:44 2017 +0100

    d/watch: Mangle version number so the trailing "b" is not considered to be less than +dfsg
---
 debian/changelog | 4 +++-
 debian/rules     | 4 ++--
 debian/watch     | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9cfd060..167a87b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
-iortcw (1.51b+dfsg1-1) UNRELEASED; urgency=medium
+iortcw (1.51.b+dfsg1-1) UNRELEASED; urgency=medium
 
   * New upstream release
     - Drop patch from previous version, now upstream
   * Declare compliance with Debian Policy 4.1.0
+  * d/watch: Mangle version number so the trailing "b" is not considered
+    to be less than +dfsg
 
  -- Simon McVittie <smcv at debian.org>  Thu, 31 Aug 2017 23:09:20 +0100
 
diff --git a/debian/rules b/debian/rules
index 3a47681..c2885ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -125,8 +125,8 @@ maintainer-update-icons: \
 
 ORIG_SOURCE = iortcw
 ORIG_REPO ?= https://github.com/iortcw/iortcw
-ORIG_REL = 1.51b
-ORIG_REV = $(ORIG_REL)
+ORIG_REL = 1.51.b
+ORIG_REV = 1.51b
 ORIG_DATE =
 ORIG_SUFFIX = +dfsg1
 
diff --git a/debian/watch b/debian/watch
index 5f02e67..9fa791a 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}/;s/^([0-9.]+)([a-z])$/${1}.${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