On Fri, 08 Aug 2014 21:14:12 +0200, Gabriele Giacone wrote:

> Anyway, I'd really appreciate if Stuart, current maintainer, DD and
> also upstream developer, jumped into the discussion and upload it
> himself but seems quite unresponsive lately.

Ack.

> explains why I'm treating it as a team maintained package.
> If that's not enough, no problem, NMU it as you prefer.

Thanks, I've now uploaded -1.2 taking -1.1 and your commit for the
perl issue (modulo changelog fiddling).

Debdiff attached.

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: Simon and Garfunkel: Fifty Ways To Leave Your Lover
diff -u ming-0.4.5/debian/changelog ming-0.4.5/debian/changelog
--- ming-0.4.5/debian/changelog
+++ ming-0.4.5/debian/changelog
@@ -1,3 +1,12 @@
+ming (1:0.4.5-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload with team member's permission.
+
+  [ Gabriele Giacone ]
+  * Do not hardcode /usr/lib/perl5 in d/rules and d/*.install (Closes: #752716).
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 09 Aug 2014 14:59:22 +0200
+
 ming (1:0.4.5-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u ming-0.4.5/debian/libswf-perl.dirs ming-0.4.5/debian/libswf-perl.dirs
--- ming-0.4.5/debian/libswf-perl.dirs
+++ ming-0.4.5/debian/libswf-perl.dirs
@@ -1,3 +1 @@
-usr/lib/perl5/SWF
-usr/lib/perl5/auto/SWF
 usr/share/man/man3
reverted:
--- ming-0.4.5/debian/libswf-perl.install
+++ ming-0.4.5.orig/debian/libswf-perl.install
@@ -1,3 +0,0 @@
-usr/lib/perl5/SWF/*
-usr/lib/perl5/SWF.pm
-usr/lib/perl5/auto/SWF/*
diff -u ming-0.4.5/debian/rules ming-0.4.5/debian/rules
--- ming-0.4.5/debian/rules
+++ ming-0.4.5/debian/rules
@@ -20,6 +20,8 @@
 PYDEF=$(shell pyversions -d)
 PYVERS=$(shell pyversions -r)
 
+PERLARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -110,6 +112,7 @@
 	rm -f libming-util.1
 	if [ -f Makefile ]; then $(MAKE) distclean; fi
 	rm -f config.log config.sub config.guess
+	rm -f debian/libswf-perl.install
 
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 
@@ -125,7 +128,7 @@
 	# debian/tmp.
 	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
 
-	chrpath -d debian/tmp/usr/lib/perl5/auto/SWF/SWF.so
+	chrpath -d debian/tmp/$(PERLARCHLIB)/auto/SWF/SWF.so
 	chrpath -d debian/tmp/usr/lib/php5/*/ming.so
 
 	# 0.4.5 has the man pages we were mising
@@ -133,7 +136,9 @@
 	dh_installman -p libming-util libming-util.1
 
 #	# Perl extension
-#	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/usr/lib/perl5/auto/SWF/SWF.so
+#	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/$(PERLARCHLIB)/auto/SWF/SWF.so
+
+	sed -e 's,$${perlarchlib},$(PERLARCHLIB),g' debian/libswf-perl.install.in > debian/libswf-perl.install
 
 	# install Python extension
 	for python in $(PYVERS); do \
only in patch2:
unchanged:
--- ming-0.4.5.orig/debian/libswf-perl.install.in
+++ ming-0.4.5/debian/libswf-perl.install.in
@@ -0,0 +1,3 @@
+${perlarchlib}/SWF/*
+${perlarchlib}/SWF.pm
+${perlarchlib}/auto/SWF/*

Attachment: signature.asc
Description: Digital Signature

Reply via email to