[SCM] Packaging for padre-plugin-datawalker branch, master, updated. debian/0.04-1-4-g2b7b16f

Salvatore Bonaccorso carnil at debian.org
Thu Mar 22 19:38:08 UTC 2012

The following commit has been merged in the master branch:
commit c68e38b02936262b87691ee3dc8b3d28b678b2bc
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Mar 22 20:21:00 2012 +0100

    Fix FTBFS when the home of building user is not available
    Add override targets for dh_clean and expand the override target for
    dh_auto_test to have a writable home for the building user. This fix a
    FTBFS failure on e.g. buildd hosts or in sbuild environments.
    Closes: #665229

diff --git a/debian/rules b/debian/rules
index ac3c784..3991831 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,20 @@
 #!/usr/bin/make -f
+BUILDHOME = $(CURDIR)/debian/build
 	dh $@
 MO_DIR = $(CURDIR)/debian/$(shell dh_listpackages)/usr/share/perl5/auto/share/dist/Padre-Plugin-DataWalker/locale
 PO_DIR = $(CURDIR)/share/locale/
+	dh_clean
+	rm -rf $(BUILDHOME)
-	xvfb-run -a dh_auto_test 
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) xvfb-run -a dh_auto_test

Packaging for padre-plugin-datawalker

More information about the Pkg-perl-cvs-commits mailing list