[hdf4] 01/01: Disable tests on sparc64, causes FTBFS.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 12 21:13:37 UTC 2016


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

sebastic pushed a commit to branch experimental
in repository hdf4.

commit f52271f185b34bd3bf8383b3cc58b5b87bde91bd
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu May 12 21:44:19 2016 +0200

    Disable tests on sparc64, causes FTBFS.
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2bcc27f..63dd994 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libhdf4 (4.2.11-1~exp2) UNRELEASED; urgency=medium
+
+  * Disable tests on sparc64, causes FTBFS.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 12 May 2016 21:43:57 +0200
+
 libhdf4 (4.2.11-1~exp1) experimental; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 5977424..af3d881 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+(debian|dfsg|ds|deb)[0-9]*.*//; s/^[0-9]://')
 
 RELEASE := 4.2.11
@@ -32,7 +34,7 @@ ifneq (,$(findstring verbose,$(DEB_BUILD_OPTIONS)))
    export DH_VERBOSE
 endif
 
-ifeq ($(shell arch), s390x)
+ifneq (,$(findstring $(DEB_HOST_ARCH),"s390x sparc64"))
    DISABLE_TESTS=1
 else
    DISABLE_TESTS=0

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



More information about the Pkg-grass-devel mailing list