[SCM] Debian packaging of libcpan-mini-perl branch, master, updated. debian/1.111008-1-5-ge446da5

gregor herrmann gregoa at debian.org
Sun Apr 1 13:57:52 UTC 2012


The following commit has been merged in the master branch:
commit 0fcd2309c1c6c5835cf99def55c420af93855e5b
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Apr 1 15:54:09 2012 +0200

    Use writable HOME during build.
    
    Closes: #666638

diff --git a/debian/rules b/debian/rules
index cbe925d..bc67c36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +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 packaging of libcpan-mini-perl



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