tags 752714 + pending
thanks

Dear maintainer,

I've prepared an NMU for lockdev (versioned as 1.0.3-1.6) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  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: Der Junge mit der Gitarre: Nie wieder Grand Prix
diff -u lockdev-1.0.3/debian/changelog lockdev-1.0.3/debian/changelog
--- lockdev-1.0.3/debian/changelog
+++ lockdev-1.0.3/debian/changelog
@@ -1,3 +1,14 @@
+lockdev (1.0.3-1.6) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "hardcodes /usr/lib/perl5":
+    debian/rules:
+    - use $Config{vendorarch} for getting correct directory
+    - revamp install target for perl library
+    (Closes: #752714)
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 02 Aug 2014 18:49:34 +0200
+
 lockdev (1.0.3-1.5) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u lockdev-1.0.3/debian/rules lockdev-1.0.3/debian/rules
--- lockdev-1.0.3/debian/rules
+++ lockdev-1.0.3/debian/rules
@@ -6,19 +6,7 @@
 #export DH_VERBOSE=1
 
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-archlib = `$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
-config  = INSTALLDIRS=vendor
-config += INSTALLMAN1DIR=${d_man}/man1
-config += INSTALLMAN3DIR=${d_man}/man3
-config += INSTALLPRIVLIB=${d_ulib}/perl5
-config += INSTALLARCHLIB=${d_build}$(archlib)
-PERLVERSION=`$(PERL) -MConfig -e 'print $$Config{version}'`
-
-
+PERL_ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
 
 CFLAGS = -Wall -g
 
@@ -78,9 +66,9 @@
 	$(MAKE) install_debug basedir=$(CURDIR)/debian/liblockdev1-dbg/usr
 	$(MAKE) install_profile basedir=$(CURDIR)/debian/liblockdev1-dbg/usr
 	$(MAKE) install_dev basedir=$(CURDIR)/debian/liblockdev1-dev/usr
-	cd LockDev && $(MAKE) pure_install $(config) PREFIX=$(CURDIR)/debian/liblockdev1-perl/usr
+	cd LockDev && $(MAKE) install PREFIX=/usr DESTDIR=$(CURDIR)/debian/liblockdev1-perl
 
-	mv $(CURDIR)/debian/liblockdev1-perl/usr/lib/perl5/LockDev.pm \
+	mv $(CURDIR)/debian/liblockdev1-perl$(PERL_ARCHLIB)/LockDev.pm \
 	  $(CURDIR)/debian/liblockdev1-perl/usr/share/perl5
 
 	ln -s lockdev.3.gz \

Attachment: signature.asc
Description: Digital Signature

Reply via email to