For completeness' sake, I'm sending th debdiff to the bug.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
diff -Nru libchemistry-formula-perl-3.0.1/debian/changelog libchemistry-formula-perl-3.0.1/debian/changelog
--- libchemistry-formula-perl-3.0.1/debian/changelog	2015-07-24 13:41:08.000000000 +0200
+++ libchemistry-formula-perl-3.0.1/debian/changelog	2015-12-18 16:05:12.000000000 +0100
@@ -1,3 +1,12 @@
+libchemistry-formula-perl (3.0.1-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: use $Config{vendorarch} instead of hardcoded /usr/lib/perl5.
+    This gets rid of the unwanted dependency on perlapi-*
+    Closes: #808310
+
+ -- gregor herrmann <gre...@debian.org>  Fri, 18 Dec 2015 16:04:14 +0100
+
 libchemistry-formula-perl (3.0.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libchemistry-formula-perl-3.0.1/debian/rules libchemistry-formula-perl-3.0.1/debian/rules
--- libchemistry-formula-perl-3.0.1/debian/rules	2011-07-30 22:47:08.000000000 +0200
+++ libchemistry-formula-perl-3.0.1/debian/rules	2015-12-18 16:00:52.000000000 +0100
@@ -17,6 +17,7 @@
 endif
 
 TMP = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
 
 build: build-arch build-indep
 build-arch: build-stamp
@@ -50,10 +51,10 @@
 	# Install package in temporary directory
 	./Build install --installdirs vendor
 	# remove .packlist
-	rm -rf $(TMP)/usr/lib/perl5/auto
+	rm -rf $(TMP)$(ARCHLIB)/auto
 	# remove empty dirs if they exist
 	[ ! -d $(TMP)/usr/bin ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/bin
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/lib/perl5
+	[ ! -d $(TMP)$(ARCHLIB)/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)$(ARCHLIB)/perl5
 
 	touch $@
 

Attachment: signature.asc
Description: Digital Signature

Reply via email to