[SCM] Packaging for padre-plugin-git branch, master, updated. debian/0.03-1-5-g458f4f6
Salvatore Bonaccorso
carnil at debian.org
Thu Mar 22 22:10:17 UTC 2012
The following commit has been merged in the master branch:
commit 6d14f32c7ea9a30ca1e27e3e7d00220a79d9398b
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Thu Mar 22 21:34:14 2012 +0100
Fix FTBFS when the home of building user is not writable
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 fixes
a FTBFS failure on e.g. buildd hosts or in sbuild environments.
Closes: #665244
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
--
Packaging for padre-plugin-git
More information about the Pkg-perl-cvs-commits
mailing list