* Support rpms with a description consisting of just blank lines.

This commit is contained in:
joey
2002-04-01 18:35:19 +00:00
parent 8f2fe8eb22
commit 53652741bc
2 changed files with 9 additions and 3 deletions

View File

@@ -307,8 +307,6 @@ sub prep {
}
print OUT "Description: ".$this->summary."\n";
print OUT $this->description."\n";
print OUT " .\n";
print OUT " (Converted from a ".$this->origformat." package by alien.)\n";
close OUT;
# Copyright file.
@@ -585,7 +583,9 @@ sub description {
$_="." if $_ eq ''; # empty lines become dots
$ret.=" $_\n";
}
chomp $ret;
$ret=~s/^\n+//g; # kill leading blank lines
$ret.=" .\n" if length $ret;
$ret.=" (Converted from a ".$this->origformat." package by alien.)";
return $ret;
}

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
alien (8.05) unstable; urgency=low
* Support rpms with a description consisting of just blank lines.
-- Joey Hess <joey@kitenet.net> Mon, 1 Apr 2002 13:36:45 -0500
alien (8.04) unstable; urgency=low
* Fixed an unfortunate typo in Rpm.pm, Closes: #140742