[sagemath] 01/01: New changelog entry and fix checks for UNRELEASED in d/rules.

Tobias Hansen thansen at moszumanska.debian.org
Mon Dec 19 19:56:23 UTC 2016


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

thansen pushed a commit to branch master
in repository sagemath.

commit f679fa27f43d92b0793a53f22dfd310d48a10810
Author: Tobias Hansen <thansen at debian.org>
Date:   Mon Dec 19 19:56:07 2016 +0000

    New changelog entry and fix checks for UNRELEASED in d/rules.
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 150db24..155860f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagemath (7.4-2) UNRELEASED; urgency=medium
+
+  * Upload to unstable.
+
+ -- Tobias Hansen <thansen at debian.org>  Mon, 19 Dec 2016 19:54:20 +0000
+
 sagemath (7.4-1) experimental; urgency=medium
 
   * Initial package. (Closes: #841136)
diff --git a/debian/rules b/debian/rules
index d2a84eb..10daea8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -150,7 +150,7 @@ override_dh_clean:
 prune: debian/control
 	cd debian/pruner && autoconf -I m4
 	cd debian/pruner && ./configure --with-sage-root="$(CURDIR)/sage"
-	cd sage && python ../debian/pruner/pruner.py ||	test $$(dpkg-parsechangelog -l../debian/changelog -SDistribution) = unstable-sage
+	cd sage && python ../debian/pruner/pruner.py ||	test $$(dpkg-parsechangelog -l../debian/changelog -SDistribution) = UNRELEASED
 	touch prune
 
 run_tests = cd sage && ./sage -t -p $(NUMJOBS) --all --long $(EXTRA_SAGE_TEST_FLAGS) --logfile=logs/ptestlong.log
@@ -167,7 +167,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# (and then this target) without trying (override_)dh_auto_build again.
 	$(run_tests) || true
 	# If tests fail but not by too many more, then retry them once
-	if [ $$(dpkg-parsechangelog -SDistribution) = unstable-sage ]; then :; \
+	if [ $$(dpkg-parsechangelog -SDistribution) = UNRELEASED ]; then :; \
 	elif debian/rules -s had-few-failures; then :; else \
 	  debian/rules -s had-not-too-many-failures && \
 	  mv sage/logs/ptestlong.log sage/logs/ptestlong.log.1 && \

-- 
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