[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695146: hunspell: doesn't honour DEB_BUILD_OPTIONS=nocheck



Package: hunspell
Version: 1.3.2-4
Severity: normal
Tags: patch
User: crossbuild@debian.org
Usertags: cross

hunspell's debian/rules fails to honour DEB_BUILD_OPTIONS=nocheck
(policy 4.9.1).  In particular, this gets in the way of cross-building
it unless you have emulation set up.

  * Honour DEB_BUILD_OPTIONS=nocheck.

diff -u hunspell-1.3.2/debian/rules hunspell-1.3.2/debian/rules
--- hunspell-1.3.2/debian/rules
+++ hunspell-1.3.2/debian/rules
@@ -51,7 +51,9 @@
 	dh_testdir
 
 	$(MAKE)
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) check
+endif
 	pod2man debian/ispellaff2myspell \
 		> debian/ispellaff2myspell.1
 

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


Reply to: