[game-data-packager] 23/24: Put a prefix on new games' version numbers
Simon McVittie
smcv at debian.org
Tue Dec 30 01:32:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit 737f40b8b6e2cdc88a5d1615d37ec5b6e63b07f6
Author: Simon McVittie <smcv at debian.org>
Date: Mon Dec 29 23:39:18 2014 +0000
Put a prefix on new games' version numbers
---
data/jedi-academy-data.control.m4 | 2 +-
data/jedi-outcast-data.control.m4 | 2 +-
data/rtcw-data.control.m4 | 2 +-
lib/via-python | 2 +-
supported/ja | 1 +
supported/jk2 | 1 +
supported/rtcw | 1 +
7 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/data/jedi-academy-data.control.m4 b/data/jedi-academy-data.control.m4
index 53171fe..217cfa0 100644
--- a/data/jedi-academy-data.control.m4
+++ b/data/jedi-academy-data.control.m4
@@ -1,5 +1,5 @@
Package: jedi-academy-data
-Version: VERSION
+Version: 1.01+VERSION
Section: non-free/games
Priority: optional
Architecture: all
diff --git a/data/jedi-outcast-data.control.m4 b/data/jedi-outcast-data.control.m4
index f4d24a0..341604b 100644
--- a/data/jedi-outcast-data.control.m4
+++ b/data/jedi-outcast-data.control.m4
@@ -1,5 +1,5 @@
Package: jedi-outcast-data
-Version: VERSION
+Version: 1.04+VERSION
Section: non-free/games
Priority: optional
Architecture: all
diff --git a/data/rtcw-data.control.m4 b/data/rtcw-data.control.m4
index 0a8c6a6..6dab60b 100644
--- a/data/rtcw-data.control.m4
+++ b/data/rtcw-data.control.m4
@@ -1,5 +1,5 @@
Package: rtcw-data
-Version: VERSION
+Version: 1.42b+VERSION
Section: non-free/games
Priority: optional
Architecture: all
diff --git a/lib/via-python b/lib/via-python
index 1351ba9..96bc1b3 100644
--- a/lib/via-python
+++ b/lib/via-python
@@ -56,7 +56,7 @@ gdp_data_driven () {
if [ "" = "$OUTDIR" ]; then
OUTFILE="$WORKDIR/out.deb"
else
- OUTFILE="$(unravel "$OUTDIR")/${deb}_${GAME_PACKAGE_VERSION}_all.deb"
+ OUTFILE="$(unravel "$OUTDIR")/${deb}_${VERSION_PREFIX:-}${GAME_PACKAGE_VERSION}_all.deb"
fi
( cd "$DESTDIR" && find usr -type f -print0 | xargs -0 md5sum ) > \
diff --git a/supported/ja b/supported/ja
index 03ee1fe..180ea4b 100644
--- a/supported/ja
+++ b/supported/ja
@@ -4,6 +4,7 @@ SHORTNAME=ja
LONGNAME="Star Wars Jedi Knight: Jedi Academy"
deb=jedi-academy-data
basedir="/usr/share/games/jedi-academy"
+version_prefix=1.01+
. $LIBDIR/via-python
diff --git a/supported/jk2 b/supported/jk2
index 6475c27..b38f789 100644
--- a/supported/jk2
+++ b/supported/jk2
@@ -4,6 +4,7 @@ SHORTNAME=jk2
LONGNAME="Star Wars Jedi Knight II: Jedi Outcast"
deb=jedi-outcast-data
basedir="/usr/share/games/jedi-outcast"
+version_prefix=1.04+
. $LIBDIR/via-python
diff --git a/supported/rtcw b/supported/rtcw
index 77047af..dd991ac 100644
--- a/supported/rtcw
+++ b/supported/rtcw
@@ -4,6 +4,7 @@ SHORTNAME=rtcw
LONGNAME="Return to Castle Wolfenstein"
deb=rtcw-data
basedir="/usr/share/games/rtcw"
+version_prefix=1.42b+
. $LIBDIR/via-python
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list