Package: usbutils
Version: 0.71+cvs20051029-4
Severity: minor
Tags: d-i, patch

usbutils currently has a hack to set correct dependency for the udeb. 
Recent changes in debhelper and dpkg-dev have made it possible to 
automatically generate proper dependencies on udebs instead.

The attached patch implements this for usbutils. The needed changes are:
- update dephelper dependency to 5.0.22; this also pulls in the correct
  version of dpkg-dev
- remove hack in debian/rules

Please include this patch in your next upload.

Cheers,
FJP

diff -u usbutils-0.71+cvs20051029/debian/rules usbutils-0.71+cvs20051029/debian/rules
--- usbutils-0.71+cvs20051029/debian/rules
+++ usbutils-0.71+cvs20051029/debian/rules
@@ -134,7 +134,6 @@
 	dh_installdeb
 #	dh_perl
 	dh_shlibdeps 
-	sed -i -e 's/libusb-0.1-4/libusb-0.1-udeb/g' $(CURDIR)/debian/usbutils-udeb.substvars
 	dh_gencontrol
 	dh_md5sums 
 	dh_builddeb
diff -u usbutils-0.71+cvs20051029/debian/control usbutils-0.71+cvs20051029/debian/control
--- usbutils-0.71+cvs20051029/debian/control
+++ usbutils-0.71+cvs20051029/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.2.0), autotools-dev, libusb-dev (>= 0.1.6-1)
+Build-Depends: debhelper (>> 5.0.22), autotools-dev, libusb-dev (>= 0.1.6-1)
 Standards-Version: 3.6.2
 
 Package: usbutils

===========================================================================
DebDiff for usbutils_0.71+cvs20051029-4_hppa.deb and usbutils_0.71+cvs20051029-4~fjp_hppa.deb:
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Version: [-0.71+cvs20051029-4-] {+0.71+cvs20051029-4~fjp+}
Depends: libc6 (>= 2.3.5-1), libusb-0.1-4 (>= [-2:0.1.10a)-] {+2:0.1.11)+}
Installed-Size: [-372-] {+376+}

===========================================================================
DebDiff for usbutils-udeb_0.71+cvs20051029-4_hppa.udeb and usbutils-udeb_0.71+cvs20051029-4~fjp_hppa.udeb:
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Version: [-0.71+cvs20051029-4-] {+0.71+cvs20051029-4~fjp+}
Depends: libc6 (>= 2.3.5-1), libusb-0.1-udeb (>= [-2:0.1.10a)-] {+2:0.1.11)+}

Attachment: pgpwe10wqFzjv.pgp
Description: PGP signature

Reply via email to