Package: libtasn1-3 Version: 2.2-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch karmic
Running tests when cross-compiling doesn't work here, since it requires executing binaries for the host architecture. This patch disables tests in this case. * Don't run tests when cross-compiling. diff -u libtasn1-3-2.2/debian/rules libtasn1-3-2.2/debian/rules --- libtasn1-3-2.2/debian/rules +++ libtasn1-3-2.2/debian/rules @@ -8,7 +8,9 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) DEB_MAKE_CHECK_TARGET = check +endif DEB_DH_STRIP_ARGS = --dbg-package libtasn1-3-dbg DEB_DH_INSTALL_SOURCEDIR = debian/tmp DEB_DH_MAKESHLIBS_ARGS_ALL := -V 'libtasn1-3 (>=1.6-0)' Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org