Control: tag -1 + patch

On Sat, 28 Jun 2014 09:21:46 +0300, Niko Tyni wrote:

> This package fails to build with perl_5.20.0-1 from experimental:
> 
>   Installing 
> /«PKGBUILDDIR»/debian/libwebservice-musicbrainz-perl/usr/share/man/man3/WebService::MusicBrainz::Response::ISRCList.3pm
>   rm 
> /«PKGBUILDDIR»/debian/libwebservice-musicbrainz-perl/usr/lib/perl5/auto/WebService/MusicBrainz/.packlist
>   rm: cannot remove 
> '/«PKGBUILDDIR»/debian/libwebservice-musicbrainz-perl/usr/lib/perl5/auto/WebService/MusicBrainz/.packlist':
>  No such file or directory
>   make: *** [install-stamp] Error 1
>   debian/rules:46: recipe for target 'install-stamp' failed

Patch attached which doesn't create .packlist and thereby avoids the
need to search and remove it.


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Jerry Lee Lewis: Whole Lotta Shakin' Going On
diff -u libwebservice-musicbrainz-perl-0.93/debian/changelog libwebservice-musicbrainz-perl-0.93/debian/changelog
--- libwebservice-musicbrainz-perl-0.93/debian/changelog
+++ libwebservice-musicbrainz-perl-0.93/debian/changelog
@@ -1,3 +1,12 @@
+libwebservice-musicbrainz-perl (0.93-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "hardcodes /usr/lib/perl5":
+    pass create_packlist=0 to Build.PL, then we don't have to remove it later
+    (Closes: #752982)
+
+ -- gregor herrmann <[email protected]>  Thu, 03 Jul 2014 21:17:29 +0200
+
 libwebservice-musicbrainz-perl (0.93-1) unstable; urgency=low
 
   * New upstream release
diff -u libwebservice-musicbrainz-perl-0.93/debian/rules libwebservice-musicbrainz-perl-0.93/debian/rules
--- libwebservice-musicbrainz-perl-0.93/debian/rules
+++ libwebservice-musicbrainz-perl-0.93/debian/rules
@@ -27,7 +27,7 @@
 	dh_testdir
 
 	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
+	$(PERL) Build.PL installdirs=vendor create_packlist=0
 	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
 
 	touch build-stamp
@@ -50,8 +50,6 @@
 	# Add commands to install the package into debian/$PACKAGE_NAME here
 	$(PERL) Build 
 	$(PERL) Build install destdir=$(TMP)
-	rm $(TMP)/usr/lib/perl5/auto/WebService/MusicBrainz/.packlist
-	rm -rf $(TMP)/usr/lib
 
 	touch install-stamp
 

Attachment: signature.asc
Description: Digital Signature

Reply via email to