r67264 - in /trunk/dh-make-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Jan 10 18:30:58 UTC 2011


Author: gregoa
Date: Mon Jan 10 18:30:12 2011
New Revision: 67264

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67264
Log:
Fix "Tries to mkdir directory in home of building user": set HOME to a
writable directory in debian/rules (closes: #609469).

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/debian/rules

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=67264&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Mon Jan 10 18:30:12 2011
@@ -1,3 +1,10 @@
+dh-make-perl (0.71-2) UNRELEASED; urgency=low
+
+  * Fix "Tries to mkdir directory in home of building user": set HOME to a
+    writable directory in debian/rules (closes: #609469).
+
+ -- gregor herrmann <gregoa at debian.org>  Mon, 10 Jan 2011 19:27:04 +0100
+
 dh-make-perl (0.71-1) unstable; urgency=low
 
   [ Ansgar Burchardt ]

Modified: trunk/dh-make-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/rules?rev=67264&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/rules (original)
+++ trunk/dh-make-perl/debian/rules Mon Jan 10 18:30:12 2011
@@ -1,11 +1,18 @@
 #!/usr/bin/make -f
+
+BUILDHOME = $(CURDIR)/debian/build
 
 %:
 	dh $@
 
 override_dh_auto_test:
 # leave this here for Test::DistManifest..I want it to happen on package build but not on CPAN install.
-	NO_NETWORK=1 RELEASE_TESTING=1 dh_auto_test
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) NO_NETWORK=1 RELEASE_TESTING=1 dh_auto_test
+
+override_dh_clean:
+	dh_clean
+	rm -rf $(BUILDHOME)
 
 clean:
 	dh clean




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