Package: debhelper
Version: 9.20120608
Severity: important

Hi,

The following control and rules snippets don't produce the expected
paragraph formatting in the long description. Example source package attached.

===== control =====
Package: test
Architecture: all
Description: test
 paragraph 1
 .
 paragraph 2
 .
 paragraph 3

Package: test1
Architecture: all
Description: test 1
 ${alpha}
 .
 ${beta}
 .
 some more text

Package: test2
Architecture: all
Description: test 2
 paragraph 1
 .
 paragraph 2
 .
 ${alpha}
===================

===== rules =====
override_dh_gencontrol:
        dh_gencontrol -- -V'alpha=Alpha' -V'beta=Beta'
=================

Result:

Package: test
Source: gencontrolbug
Version: 1
Architecture: all
Maintainer: Andreas Beckmann <[email protected]>
Installed-Size: 2
Section: misc
Priority: extra
Description: test
 paragraph 1
 .
 paragraph 2
 .
 paragraph 3

Package: test1
Source: gencontrolbug
Version: 1
Architecture: all
Maintainer: Andreas Beckmann <[email protected]>
Installed-Size: 2
Section: misc
Priority: extra
Description: test 1
 Alpha
 Beta
 .
 some more text

Package: test2
Source: gencontrolbug
Version: 1
Architecture: all
Maintainer: Andreas Beckmann <[email protected]>
Installed-Size: 2
Section: misc
Priority: extra
Description: test 2
 paragraph 1
 paragraph 2
 .
 Alpha


Andreas


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 
'stable-updates'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.22-6.1
ii  dpkg        1.16.4.3
ii  dpkg-dev    1.16.4.3
ii  file        5.11-1
ii  html2text   1.3.2a-15
ii  man-db      2.6.2-1
ii  perl        5.14.2-12
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.60

-- no debconf information

Attachment: gencontrolbug_1.tar.gz
Description: GNU Zip compressed data

Reply via email to