[unknown-horizons] 05/16: Add VERSION.patch and fix a FTBFS because the build system

Markus Koschany apo at moszumanska.debian.org
Sat Jan 21 02:59:10 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 c9d73dc944f5b2ef0a4305731703821adb79e00d
Author: Markus Koschany <apo at debian.org>
Date:   Fri Jan 20 22:18:56 2017 +0100

    Add VERSION.patch and fix a FTBFS because the build system
    
    wrongly assumes that we use still a development version.
---
 debian/patches/VERSION.patch | 25 +++++++++++++++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/VERSION.patch b/debian/patches/VERSION.patch
new file mode 100644
index 0000000..6643104
--- /dev/null
+++ b/debian/patches/VERSION.patch
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 20 Jan 2017 22:18:43 +0100
+Subject: VERSION
+
+---
+ horizons/constants.py | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/horizons/constants.py b/horizons/constants.py
+index e4ff556..3fb7a15 100644
+--- a/horizons/constants.py
++++ b/horizons/constants.py
+@@ -84,10 +84,9 @@ def get_git_version():
+ ##Versioning
+ class VERSION:
+ 	RELEASE_NAME    = "Unknown Horizons %s"
+-	RELEASE_VERSION = get_git_version()
+ 	# change for release:
+-	IS_DEV_VERSION = True
+-	#RELEASE_VERSION = u'2017.1'
++	IS_DEV_VERSION = False
++	RELEASE_VERSION = u'2017.1'
+ 
+ 	REQUIRED_FIFE_MAJOR_VERSION = 0
+ 	REQUIRED_FIFE_MINOR_VERSION = 4
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..633fed8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+VERSION.patch

-- 
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