Package: devmapper
Version: 1.02.03-1
Severity: wishlist
Tags: patch, d-i

Let's call this an important wishlist bug (important for Debian Installer 
anyway :-)

Please add the following line to your shlibs file:
udeb: libdevmapper 1.02 libdevmapper1.02-udeb (>= 2:1.02.02-2)

This will allow dpkg/debhelper to properly set the dependencies for udebs 
that depend on libdevmapper.
Please see #345472 and #345475 for further info on this.

This will also mean that, eventually, we will be able to drop the
"Provides: libdevmapper1.02" for the udeb, but we cannot do that until 
other udebs that currently depend on libdevmapper1.02 instead of 
libdevmapper1.02-udeb have been rebuilt. I'll file a separate bug when 
that change can be made.

It would be very much appreciated if this change could be implemented
soon.


The attached patch implements the necessary changes:
- add --add-udeb option for dh_makeshlibs which autogenerates the udeb:
  lines for the shlibs file
- this requires debhelper 5.0.22, so updated your debian/compat

I've also updated debian/compat to level 5, in line with the debhelper 
dependency.

I've checked the debdiff for the libdevmapper deb and udeb against current 
versions and there were no unexpected changes.

TIA,
Frans Pop

diff -u devmapper-1.02.03/debian/control devmapper-1.02.03/debian/control
--- devmapper-1.02.03/debian/control
+++ devmapper-1.02.03/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian LVM Team <[EMAIL PROTECTED]>
 Uploaders: Bastian Blank <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.2), autotools-dev, libselinux1-dev
+Build-Depends: debhelper (>= 5.0.22), autotools-dev, libselinux1-dev
 Standards-Version: 3.6.2
 
 Package: libdevmapper-dev
diff -u devmapper-1.02.03/debian/compat devmapper-1.02.03/debian/compat
--- devmapper-1.02.03/debian/compat
+++ devmapper-1.02.03/debian/compat
@@ -1 +1 @@
-4
+5
diff -u devmapper-1.02.03/debian/rules devmapper-1.02.03/debian/rules
--- devmapper-1.02.03/debian/rules
+++ devmapper-1.02.03/debian/rules
@@ -117,7 +117,7 @@
 	dh_link -a
 	dh_compress -a
 	dh_fixperms -a
-	dh_makeshlibs -a -V 'libdevmapper1.02 (>= 2:1.02.02-2)'
+	dh_makeshlibs -a -V 'libdevmapper1.02 (>= 2:1.02.02-2)' --add-udeb='libdevmapper1.02-udeb'
 	dh_installdeb -a
 	dh_shlibdeps -a
 	dh_gencontrol -a

Attachment: pgpOouGU6FxT5.pgp
Description: PGP signature

Reply via email to