[SCM] Debian packaging of Padre-Plugin-Moose CPAN distribution branch, master, updated. debian/0.21-1-2-gd0e52d1
Salvatore Bonaccorso
carnil at debian.org
Sat Mar 31 19:09:58 UTC 2012
The following commit has been merged in the master branch:
commit 30864a9374ac6b2aee3de78b744ac7b5fbf942f5
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sat Mar 31 20:53:40 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: #666562
diff --git a/debian/rules b/debian/rules
index aa3059d..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
\ No newline at end of file
+ mkdir -p $(BUILDHOME)
+ HOME=$(BUILDHOME) xvfb-run -a dh_auto_test
--
Debian packaging of Padre-Plugin-Moose CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list