Package: gawk
Version: 1:4.0.1+dfsg-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu raring ubuntu-patch cross
I've applied to attached patch to gawk in Ubuntu, to allow cross-building
(as well as just to support DEB_BUILD_OPTIONS=nocheck in general), with
the following changelog entry:
* Avoid running the testsuite if DEB_BUILD_OPTIONS contains nocheck.
It would be lovely if you included this in the Debian package as well.
... Adam
-- System Information:
Debian Release: wheezy/sid
APT prefers raring-updates
APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.7.0-4-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gawk-4.0.1+dfsg/debian/changelog gawk-4.0.1+dfsg/debian/changelog
diff -Nru gawk-4.0.1+dfsg/debian/rules gawk-4.0.1+dfsg/debian/rules
--- gawk-4.0.1+dfsg/debian/rules 2012-05-21 02:21:13.000000000 -0600
+++ gawk-4.0.1+dfsg/debian/rules 2012-12-04 12:39:42.000000000 -0700
@@ -22,6 +22,8 @@
make -C po update-gmo
override_dh_auto_test:
+ # Only run the testsuite if it's wanted.
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Generate locales used in testsuite.
mkdir tmp-locales
localedef -i en_US -c -f ISO-8859-1 -A /usr/share/locale/locale.alias \
@@ -42,6 +44,7 @@
echo ">>> $$test" && cat $$test; \
done; \
fi
+endif
override_dh_auto_install:
dh_auto_install