[SCM] Debian packaging of libdist-zilla-perl branch, master, updated. debian/4.300017-1-2-g0eda053

Salvatore Bonaccorso carnil at debian.org
Tue Jun 5 15:38:25 UTC 2012


The following commit has been merged in the master branch:
commit 7ae86fe373c85df5b211bb8ad3da5faa5dac9ccc
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Tue Jun 5 17:27:08 2012 +0200

    Use writable $HOME during build to fix FTBFS
    
    Closes: #676047

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

-- 
Debian packaging of libdist-zilla-perl



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