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-12-17 15:18:50.000000000 +0000 +++ libchemistry-formula-perl-3.0.1/debian/changelog 2015-12-18 15:05:12.000000000 +0000 @@ -1,8 +1,11 @@ -libchemistry-formula-perl (3.0.1-1.1build1) xenial; urgency=medium +libchemistry-formula-perl (3.0.1-1.2) unstable; urgency=medium - * Rebuild for Perl 5.22.1. + * 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 - -- Colin Watson Thu, 17 Dec 2015 15:18:50 +0000 + -- gregor herrmann Fri, 18 Dec 2015 16:04:14 +0100 libchemistry-formula-perl (3.0.1-1.1) unstable; urgency=medium 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 20:47:08.000000000 +0000 +++ libchemistry-formula-perl-3.0.1/debian/rules 2015-12-18 15:00:52.000000000 +0000 @@ -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 $@