Package: cain
Version: 1.9-5
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch


cain fails to build on arch-only builds (ie: dpkg-buildpackage -B) with
the new dpkg-buildpackage, leading to all buildd builds failing.  I've
uploaded the attached patch to Ubuntu, with the following changelog
entry, and I'd suggest the same fix for Debian:

  * debian/rules: postfix override_dh_install with -indep as it was
    doing indep-specific mangling and failing on arch-only builds.


Thanks for considering the patch.

... Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-27-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 cain-1.9/debian/rules cain-1.9/debian/rules
--- cain-1.9/debian/rules	2012-08-10 06:09:14.000000000 -0600
+++ cain-1.9/debian/rules	2012-08-16 03:20:11.000000000 -0600
@@ -12,7 +12,7 @@
 %:
 	dh $@ --with python2
 
-override_dh_install:
+override_dh_install-indep:
 	dh_install
 	rm -rf debian/$(pkg)/usr/share/cain/help/* debian/$(pkg)/usr/share/cain/gui/help.htm*
 	cd help && zip ../debian/$(pkg)/usr/share/cain/help/cain.htb * -r -q -x *.htb *.htd

Reply via email to