[freeorion] 20/33: Use COMMIT for checkout.
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 33465a71ec5921ffd7748aa569b263b498c8b287
Author: Markus Koschany <apo at gambaru.de>
Date: Fri Mar 27 13:17:00 2015 +0100
Use COMMIT for checkout.
---
debian/rules | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 70b925d..1b57133 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
WEAK_HOSTS := armel armhf
UURL := https://github.com/freeorion/freeorion.git
PKG := freeorion
+COMMIT := cab4aa243552328e71de55f45bc11fc189930494
ifneq (,$(findstring $(DEB_HOST_ARCH),$(WEAK_HOSTS)))
MAX := 1
@@ -57,7 +58,7 @@ $(PKG)_$(VER).orig.tar.xz:
git clone $(UURL) $(PKG)-$(VER)
@echo "# Clean-up..."
cd $(PKG)-$(VER) \
- && git checkout -b debiansource \
+ && git checkout -b debiansource $(COMMIT) \
&& for F in $$(git ls-tree -r --name-only HEAD); \
do touch --no-dereference -d "$$(git log -1 --format="%ai" -- "$$F")" "$$F"; done \
&& $(RM) -r -v \
@@ -68,7 +69,7 @@ $(PKG)_$(VER).orig.tar.xz:
.git/
@echo "# Packing..."
find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
- | XZ_OPT="-7v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
+ | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
&& $(RM) -r "$(PKG)-$(VER)"
--
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