tags 752803 + pending
thanks

Dear maintainer,

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

Regards.
-- 
Niko Tyni   [email protected]
diff -Nru ossp-uuid-1.6.2/debian/changelog ossp-uuid-1.6.2/debian/changelog
--- ossp-uuid-1.6.2/debian/changelog	2012-03-21 16:31:45.000000000 +0200
+++ ossp-uuid-1.6.2/debian/changelog	2014-07-16 23:22:31.000000000 +0300
@@ -1,3 +1,10 @@
+ossp-uuid (1.6.2-1.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't hardcode /usr/lib/perl5 in debian/rules. (Closes: #752803)
+
+ -- Niko Tyni <[email protected]>  Wed, 16 Jul 2014 23:22:24 +0300
+
 ossp-uuid (1.6.2-1.3) unstable; urgency=high
 
   * Non-maintainer upload
diff -Nru ossp-uuid-1.6.2/debian/rules ossp-uuid-1.6.2/debian/rules
--- ossp-uuid-1.6.2/debian/rules	2012-03-21 16:31:45.000000000 +0200
+++ ossp-uuid-1.6.2/debian/rules	2014-07-16 23:20:39.000000000 +0300
@@ -7,6 +7,8 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 override_dh_auto_configure:
 	ln -sf /usr/share/misc/config.sub .
 	ln -sf /usr/share/misc/config.guess . 
@@ -44,8 +46,8 @@
 	dh_auto_install
 
 	cd perl; make install PREFIX=$(CURDIR)/debian/libossp-uuid-perl/usr
-	chrpath debian/libossp-uuid-perl/usr/lib/perl5/auto/OSSP/uuid/uuid.so && \
-	chrpath -d debian/libossp-uuid-perl/usr/lib/perl5/auto/OSSP/uuid/uuid.so
+	chrpath debian/libossp-uuid-perl/$(ARCHLIB)/auto/OSSP/uuid/uuid.so && \
+	chrpath -d debian/libossp-uuid-perl/$(ARCHLIB)/auto/OSSP/uuid/uuid.so
 
 	#cd php/build-php5; make install INSTALL_ROOT=$(CURDIR)/debian/php5-uuid
 	#chmod -x debian/php5-uuid/usr/lib/php5/*/uuid.so

Reply via email to