[unknown-horizons] 12/16: Mangle the upstream version correctly

Markus Koschany apo at moszumanska.debian.org
Sat Jan 21 02:59:11 UTC 2017


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

apo pushed a commit to branch master
in repository unknown-horizons.

commit 2486b47b773092ce0af4f563cea0dc21b8ed5309
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jan 21 00:32:37 2017 +0100

    Mangle the upstream version correctly
---
 debian/copyright | 6 ------
 debian/watch     | 3 ++-
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 6038f80..e2d5349 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -22,12 +22,6 @@ Copyright: 2010, 2011 Unknown Horizons Team,
            Python-Distutils-Extra
 License: GPL-2
 
-Files: horizons/ext/dummy.py
-       horizons/ext/polib.py
-Copyright: nosklo
-           David Jean Louis
-License: MIT
-
 Files: content/*
 Copyright: Unknown Horizons Team
 License: CC-BY-SA-3.0
diff --git a/debian/watch b/debian/watch
index 386923a..ce64fb9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=3
-opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/unknown-horizons-$1.tar.gz/" \
+opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/,\
+filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/unknown-horizons-$1.tar.gz/ \
          https://github.com/unknown-horizons/unknown-horizons/releases (?:.*/)?v?(\d[\d\.]*)\.tar\.gz

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



More information about the Pkg-games-commits mailing list