[SCM] Packaging for Google Go branch, debian-sid, updated. debian/1%60.2-1-21-gaf42388
Ondřej Surý
ondrej at sury.org
Fri Apr 6 14:34:20 UTC 2012
The following commit has been merged in the debian-sid branch:
commit bc4f1cd2f1032f0713d43980619e0a8f7a8f821b
Author: Ondřej Surý <ondrej at sury.org>
Date: Fri Apr 6 15:09:58 2012 +0200
update rules to get correct version of go1
diff --git a/debian/rules b/debian/rules
index 3243a91..7f977ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,7 +132,7 @@ get-orig-source:
cd "$(GOLANG_ORIG_DIR)"; \
hg pull; \
hg update "$(REV)"; \
- VERSION=$$(hg identify -t -r"$(REV)" | perl -e '<> =~ /$(REV)\.r([\d.]+)/; print "$$1"'); \
+ VERSION=$$(hg identify -t -r"$(REV)" | perl -e '<> =~ /go([\d.]+)/; print "$$1"'); \
hg archive -tfiles -r"$(REV)" -X'.hg*' -X'doc/talks/go_talk-20091030.pdf' "$(CURDIR)/../$(PACKAGE)-$$VERSION/"; \
src/version.bash -save; \
cp VERSION "$(CURDIR)/../$(PACKAGE)-$$VERSION/"; \
--
Packaging for Google Go
More information about the Pkg-google-commits
mailing list