Package: devscripts
Version: 2.10.4
Severity: normal
Tags: patch
At the beginning of my template, I've wrote these two lines:
User: [EMAIL PROTECTED]
Usertags: libkpathsea4-dev-removed
Which got wraped to one line by mass-bug. A small change in source will fix
that. This also effects the way the signature is wraped.
The functions' documentation can be found at
http://perldoc.perl.org/Text/Wrap.html.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.21-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii debianutils 2.21 Miscellaneous utilities specific t
ii dpkg-dev 1.14.4 package building tools for Debian
ii libc6 2.5-11 GNU C Library: Shared libraries
ii perl 5.8.8-7 Larry Wall's Practical Extraction
ii sed 4.1.5-2 The GNU sed stream editor
Versions of packages devscripts recommends:
ii fakeroot 1.7.1 Gives a fake root environment
-- no debconf information
--- /tmp/mass-bug.orig 2007-06-18 11:32:38.000000000 +0100
+++ /usr/bin/mass-bug 2007-06-18 11:33:28.000000000 +0100
@@ -247,9 +247,9 @@
$template_text=~s/#PACKAGE#/$package/g;
if ($template_text =~ /\A(.*?)(^-- $.*)/m) { # there's a sig involved
my ($presig, $sig) = ($1, $2);
- $template_text=fill("", "", $presig) . $sig;
+ $template_text=wrap("", "", $presig) . $sig;
} else {
- $template_text=fill("", "", $template_text);
+ $template_text=wrap("", "", $template_text);
}
return "Package: $package\nSeverity: $severity\n\n$template_text";
}