Here is an updated NMU diff: in the former I overlooked a lintian error
that needed to be fixed, namely an rpath on the lib *.so. It was in fact
an useless rpath given that it was pointing to /usr/lib, but enough to
get the NMU rejected. I've fixed this by removing a posteriori the rpath
with chrpath.

Given that I've got no feedback from the maintainer from the former NMU
(which expired today), this time I've uploaded directly to the main
queue.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
diff -u vdkxdb2-2.4.0/debian/rules vdkxdb2-2.4.0/debian/rules
--- vdkxdb2-2.4.0/debian/rules
+++ vdkxdb2-2.4.0/debian/rules
@@ -59,10 +59,11 @@
 	dh_strip -plibvdkxdb2-2c2
 	dh_compress -plibvdkxdb2-2c2
 	dh_fixperms -plibvdkxdb2-2c2
-	dh_installdeb -plibvdkxdb2-2c2
+	chrpath -d debian/$@/usr/lib/*.so
+	dh_makeshlibs -plibvdkxdb2-2c2 -V 'libvdkxdb2-2c2 (>= 2.0.2-5.2)'
 	dh_shlibdeps -plibvdkxdb2-2c2
 	dh_gencontrol -plibvdkxdb2-2c2
-	dh_makeshlibs -plibvdkxdb2-2c2 -V 'libvdkxdb2-2c2 (>= 2.0.2-5.2)'
+	dh_installdeb -plibvdkxdb2-2c2
 	dh_md5sums -plibvdkxdb2-2c2
 	dh_builddeb -plibvdkxdb2-2c2
 
diff -u vdkxdb2-2.4.0/debian/changelog vdkxdb2-2.4.0/debian/changelog
--- vdkxdb2-2.4.0/debian/changelog
+++ vdkxdb2-2.4.0/debian/changelog
@@ -1,3 +1,13 @@
+vdkxdb2 (2.4.0-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: fix dh_installdeb order (move it past dh_makeshlibs), so
+    that ldconfig postinst snippet is actually used (Closes: #553125)
+  * remove (pointless) /usr/lib rpath from .so, using chrpath (added as a
+    build-dep)
+
+ -- Stefano Zacchiroli <z...@debian.org>  Thu, 19 Nov 2009 10:41:29 +0100
+
 vdkxdb2 (2.4.0-3) unstable; urgency=low
 
   * c++ transition (finally)
diff -u vdkxdb2-2.4.0/debian/control vdkxdb2-2.4.0/debian/control
--- vdkxdb2-2.4.0/debian/control
+++ vdkxdb2-2.4.0/debian/control
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Michael Vogt <m...@debian.org>
 Standards-Version: 3.6.2.1
-Build-Depends: debhelper (>> 4.0), libgtk2.0-dev, libglib2.0-dev , libvdk2-dev (>= 2.4.0-3), libxbase2.0-dev, doxygen, autotools-dev
+Build-Depends: debhelper (>> 4.0), libgtk2.0-dev, libglib2.0-dev , libvdk2-dev (>= 2.4.0-3), libxbase2.0-dev, doxygen, autotools-dev, chrpath
 
 Package: libvdkxdb2-2c2
 Section: libs

Reply via email to