[ioquake3] 04/11: Mangle upstream version correctly in watch file

Simon McVittie smcv at debian.org
Fri Jan 23 01:15:47 UTC 2015


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

smcv pushed a commit to branch debian-experimental
in repository ioquake3.

commit 12ab123edcb4e89547e67014b0f4be69303a8d37
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Dec 31 11:44:13 2014 +0000

    Mangle upstream version correctly in watch file
---
 debian/changelog | 1 +
 debian/watch     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7a4fc7a..20be8c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ioquake3 (1.36+u20141229+gdd82b9d+dfsg1-1) UNRELEASED; urgency=medium
   * Remove debian/source/local-options, dpkg-source behaves sensibly
     on its own (unapplies patches iff they were initially applied)
   * Standards-Version: 3.9.6 (no changes)
+  * Mangle upstream version correctly in watch file
 
  -- Simon McVittie <smcv at debian.org>  Wed, 31 Dec 2014 11:36:48 +0000
 
diff --git a/debian/watch b/debian/watch
index 26d36d6..e6c65c1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
 version=3
+opts=dversionmangle=s/(\+u[0-9]+\+g[a-f0-9]+)?\+(dfsg|ds)[0-9]+$// \
 http://ioquake3.org/files/([\d\.]+)/ioquake3-([\d\.]+)\.tar\.bz2
 
 # Note to uploaders: upstream tarballs are not currently DFSG-free. Update and

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



More information about the Pkg-games-commits mailing list