[SCM] Debian packaging of Padre-Plugin-PDL CPAN distribution branch, master, updated. debian/0.05-1-2-g8b0d597

Salvatore Bonaccorso carnil at debian.org
Sat Mar 31 19:20:35 UTC 2012


The following commit has been merged in the master branch:
commit 13c0361a9c4e5ad87c8136e56bc563e50103c7d9
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Mar 31 21:14:14 2012 +0200

    Use writable $HOME during build
    
    Fix FTBFS due the build requiring a writable $HOME. Add override target
    vor dh_clean and expand override target for dh_auto_test.
    
    Closes: #666563

diff --git a/debian/rules b/debian/rules
index c410048..d19edd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,14 @@
 #!/usr/bin/make -f
 
+BUILDHOME = $(CURDIR)/debian/build
+
 %:
 	dh $@
 
+override_dh_clean:
+	dh_clean
+	rm -rf $(BUILDHOME)
+
 override_dh_auto_test:
-	xvfb-run -a dh_auto_test
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) xvfb-run -a dh_auto_test

-- 
Debian packaging of Padre-Plugin-PDL CPAN distribution



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