tags 579294 + patch
tags 579294 + pending
thanks

Dear maintainer,

I've prepared an NMU for libapp-cache-perl (versioned as 0.35-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
Salvatore
diff -u libapp-cache-perl-0.35/debian/rules libapp-cache-perl-0.35/debian/rules
--- libapp-cache-perl-0.35/debian/rules
+++ libapp-cache-perl-0.35/debian/rules
@@ -5,6 +5,7 @@
 export PERL_MM_USE_DEFAULT=1
 
 PACKAGE=$(shell dh_listpackages)
+BUILDHOME = $(CURDIR)/debian/build
 
 ifndef PERL
 PERL = /usr/bin/perl
@@ -17,7 +18,8 @@
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) $(MAKE) test
 
 	touch build-stamp
 
@@ -26,6 +28,7 @@
 	dh_testroot
 	[ ! -f Makefile ] || $(MAKE) realclean
 	dh_clean build-stamp install-stamp
+	rm -rf $(BUILDHOME)
 
 install: build install-stamp
 install-stamp:
diff -u libapp-cache-perl-0.35/debian/changelog libapp-cache-perl-0.35/debian/changelog
--- libapp-cache-perl-0.35/debian/changelog
+++ libapp-cache-perl-0.35/debian/changelog
@@ -1,3 +1,11 @@
+libapp-cache-perl (0.35-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change $HOME to a writable location during build as tests need it.
+    Fixes FTBFS in buildd setup (Closes: #579294).
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Thu, 07 Apr 2011 07:41:56 +0200
+
 libapp-cache-perl (0.35-1) unstable; urgency=low
 
   * New Upstream Release
@@ -37 +44,0 @@
-

Attachment: signature.asc
Description: Digital signature

Reply via email to