[sagemath] 01/01: Have sbuild build in the parent directory as per convention

Ximin Luo infinity0 at debian.org
Thu Dec 15 02:41:41 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit d61e4125cd6a293566b3ac88c0e2410ffc57dd36
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Dec 15 03:41:25 2016 +0100

    Have sbuild build in the parent directory as per convention
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3c6435a..5ec8f90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -273,7 +273,7 @@ get-orig-source:
 #   /sbuild-nonexistent by sbuild. One viable solution would be to set HOME to
 #   DOT_SAGE for all sympow child processes of sage.
 release: ../sagemath_$(DEB_VERSION).dsc
-	sbuild \
+	cd .. && sbuild \
 	  --extra-repository='deb http://httpredir.debian.org/debian experimental main' \
 	  --chroot-setup-commands='apt-get install -y apt-transport-https' \
 	  --extra-repository='deb https://debian-science.alioth.debian.org/apt sid-sage/' \
@@ -284,6 +284,6 @@ release: ../sagemath_$(DEB_VERSION).dsc
 	  --chroot-setup-commands='sed -i -e /sid-sage/d /etc/apt/sources.list && apt-get update' \
 	  --build-dep-resolver=aspcud \
 	  --build-failed-commands '%SBUILD_SHELL' \
-	  "$<"
+	  "sagemath_$(DEB_VERSION).dsc"
 
 .PHONY: ptestlong clean-doc-build reset build-dep

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list