mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Support rpms with a description consisting of just blank lines.
This commit is contained in:
@@ -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
6
debian/changelog
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user