[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#254449: dpkg-dev: Please have dpkg-gencontrol and dpkg-source concatenate multi-line fields to one-line where appropriate



On Mon, 2004-06-14 at 21:59 +0200, Jeroen van Wolffelaar wrote:

> Policy mandates that almost all fields in .dsc files and in the
> 'control' section of a .deb are single-lined. However, for readability,
> it would be very convenient if in 'debian/control', one could use
> multiple lines for Depends:, build-depends, uploaders, and possibly
> others. Since automatic tools don't parse debian/control, but rather the
> .dsc and 'control' section of .deb's, this would be possible if dpkg-dev
> concatenates these values to one-line. The:
> 
dpkg-gencontrol already does this:

descent scott% cat debian/control
Source: test
Maintainer: foo

Package: test
Depends: this,
 is,
 also,
 a,
 test,
Architecture: any
descent scott% dpkg-gencontrol
descent scott% cat debian/tmp/DEBIAN/control
Package: test
Version: 1.0
Architecture: i386
Depends: this, is, also, a, test
Installed-Size: 12
Maintainer: foo

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: