[SCM] 2D platformer game starring a quixotic frog branch, master, updated. debian/1.0+dfsg1-1

Dmitry E. Oboukhov unera at debian.org
Fri Jul 16 12:03:23 UTC 2010


The following commit has been merged in the master branch:
commit 3d9891b438a03be5050913d427c840c940fff679
Author: Dmitry E. Oboukhov <unera at debian.org>
Date:   Fri Jul 16 15:52:26 2010 +0400

    depends version

diff --git a/debian/control b/debian/control
index b95baa9..8f3bcb1 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ VCS-Git: git+ssh://git.debian.org/git/pkg-games/frogatto.git
 Package: frogatto
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends},
- frogatto-data
+ frogatto-data (>= ${UVersion})
 Description:  2D platformer game starring a quixotic frog
  Frogatto is a platformer in the style of old arcade, Sega and
  Nintendo games. The world is viewed as a cross-section seen from the
diff --git a/debian/rules b/debian/rules
index 42aa448..5d0bd18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,15 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+UPSTREAM_CLEAN_VERSION	= $(shell 	\
+		dpkg-parsechangelog 	\
+	|	grep ^Version 		\
+	|	awk '{print $$2}' 	\
+	|	sed 's/[+-].*//' 	\
+)
+
+DEB_DH_GENCONTROL_ARGS	= -- -VUVersion=$(UPSTREAM_CLEAN_VERSION)
+
 clean::
 	find -name \*.o -delete
 	rm -f game frogatto.6

-- 
2D platformer game starring a quixotic frog



More information about the Pkg-games-commits mailing list