Package: nano
Version: 1.3.10-2
Severity: minor
Tags: d-i, patch

The nano udeb currently has its dependencies hardcoded in the control 
file. 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 nano. The needed changes are:
- update dephelper dependency to 5.0.22; this also pulls in the correct
  version of dpkg-dev
- change Depends: field in debian/control

Please include this patch in your next upload.

Cheers,
FJP

diff -u nano-1.3.10/debian/control nano-1.3.10/debian/control
--- nano-1.3.10/debian/control
+++ nano-1.3.10/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Jordi Mallach <[EMAIL PROTECTED]>
 Uploaders: Steve Langasek <[EMAIL PROTECTED]>
-Build-Depends: dpkg-dev (>= 1.13.9), libncurses5-dev, libncursesw5-dev, libslang2-dev, debhelper (>= 4.2.0), dpatch
+Build-Depends: dpkg-dev (>= 1.13.9), libncurses5-dev, libncursesw5-dev, libslang2-dev, debhelper (>= 5.0.22), dpatch
 Standards-Version: 3.6.2.0
 
 Package: nano
@@ -40,7 +40,7 @@
 Section: debian-installer
 Priority: standard
 XC-Package-Type: udeb
-Depends: libc-udeb, libslang2-udeb
+Depends: ${shlibs:Depends}
 Provides: editor
 Description: free Pico clone with some new features - tiny build
  GNU nano is a free replacement for Pico, the default Pine editor. Pine is

Attachment: pgp6JOjlKbzCx.pgp
Description: PGP signature

Reply via email to