Source: uudeview
Version: 0.5.20-11
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

uudeview fails to cross build from source, because it fails running
tests despite DEB_BUILD_OPTIONS=nocheck. Please consider applying the
attached patch to add support for the nocheck build option.

Helmut
diff --minimal -Nru uudeview-0.5.20/debian/changelog 
uudeview-0.5.20/debian/changelog
--- uudeview-0.5.20/debian/changelog    2018-11-17 14:41:15.000000000 +0100
+++ uudeview-0.5.20/debian/changelog    2020-04-10 08:08:52.000000000 +0200
@@ -1,3 +1,9 @@
+uudeview (0.5.20-12) UNRELEASED; urgency=medium
+
+  * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 10 Apr 2020 08:08:52 +0200
+
 uudeview (0.5.20-11) unstable; urgency=low
 
   * QA upload.
diff --minimal -Nru uudeview-0.5.20/debian/rules uudeview-0.5.20/debian/rules
--- uudeview-0.5.20/debian/rules        2018-11-17 14:33:33.000000000 +0100
+++ uudeview-0.5.20/debian/rules        2020-04-10 08:07:22.000000000 +0200
@@ -15,6 +15,10 @@
 override_dh_auto_build:
        dh_auto_build --verbose
        (cd doc && $(MAKE) html)
+
+override_dh_auto_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+       dh_auto_test
        # run autopkgtest
        chmod +x debian/tests/decode-noninteractive && \
                mkdir debian/tests/output && \
@@ -23,6 +27,7 @@
                PATH=$(CURDIR)/unix:$$PATH \
                debian/tests/decode-noninteractive && \
                rm -rvf $(CURDIR)/debian/tests/output
+endif
 
 override_dh_auto_install:
        for i in usr/share/man/man1 usr/bin ; do \

Reply via email to