[freeorion] 25/33: Fix FreeOrion revision

Markus Koschany apo-guest at moszumanska.debian.org
Fri Mar 27 22:27:30 UTC 2015


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

apo-guest pushed a commit to branch master
in repository freeorion.

commit c1deb4a0f593c40805bc97f7a511059a0f78eccb
Author: Markus Koschany <apo at gambaru.de>
Date:   Fri Mar 27 13:46:55 2015 +0100

    Fix FreeOrion revision
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3108ba8..eb7bbcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ WEAK_HOSTS := armel armhf mips mipsel
 UURL := https://github.com/freeorion/freeorion.git
 PKG := freeorion
 COMMIT := cab4aa243552328e71de55f45bc11fc189930494
+REV := cab4aa
 
 ifneq (,$(findstring $(DEB_HOST_ARCH),$(WEAK_HOSTS)))
 	MAX  := 1
@@ -66,7 +67,8 @@ $(PKG)_$(VER).orig.tar.xz:
 		Xcode \
 		Installer \
 		default/*.ttf \
-		.git/
+		.git/ \
+	&& sed -i 's:FreeOrion_WC_REVISION ???:FreeOrion_WC_REVISION $(REV):' CMakeLists.txt
 	@echo "# Packing..."
 	find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
 	| XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \

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



More information about the Pkg-games-commits mailing list