r67263 - in /trunk/libtk-pod-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Jan 10 18:21:09 UTC 2011


Author: gregoa
Date: Mon Jan 10 18:20:43 2011
New Revision: 67263

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67263
Log:
commit HOME workaround, not sure if this is enough

Modified:
    trunk/libtk-pod-perl/debian/changelog
    trunk/libtk-pod-perl/debian/rules

Modified: trunk/libtk-pod-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-pod-perl/debian/changelog?rev=67263&op=diff
==============================================================================
--- trunk/libtk-pod-perl/debian/changelog (original)
+++ trunk/libtk-pod-perl/debian/changelog Mon Jan 10 18:20:43 2011
@@ -13,6 +13,11 @@
 
   [ Damyan Ivanov ]
   * add -a option to xvfb-run invocation
+
+  [ gregor herrmann ]
+  * Fix "cannot remove path when cwd is /tmp/tkpod_8LQuQjJc for
+    /tmp/tkpod_8LQuQjJc: at /usr/share/perl/5.10/File/Temp.pm line 902":
+    set HOME to a writable directory in debian/rules (closes: #609468).
 
  -- Rene Mayorga <rmayorga at debian.org>  Tue, 20 Jan 2009 01:29:18 -0600
 

Modified: trunk/libtk-pod-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-pod-perl/debian/rules?rev=67263&op=diff
==============================================================================
--- trunk/libtk-pod-perl/debian/rules (original)
+++ trunk/libtk-pod-perl/debian/rules Mon Jan 10 18:20:43 2011
@@ -16,19 +16,22 @@
 PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
+BUILDHOME = $(CURDIR)/debian/build
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
-	xvfb-run -a $(MAKE) test
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) xvfb-run -a $(MAKE) test
 	touch $@
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
+	rm -rf $(BUILDHOME)
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp




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