[SCM] Debian native package for Config::Model::Dpkg branch, master, updated. debian/2.031-15-g6bce9c5

Salvatore Bonaccorso carnil at debian.org
Thu Jan 3 19:10:44 UTC 2013


The following commit has been merged in the master branch:
commit 400a36e99712e959bfa84f23d35af8b86e645637
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Jan 3 20:02:01 2013 +0100

    Fix FTBFS if no writable $HOME is available during tests
    
    Add overrides for dh_clean and dh_auto_test to provide a writable $HOME
    during tests.

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

-- 
Debian native package for Config::Model::Dpkg



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