When generating a debian changelog file, work around bug #478925 by including the alien changelog text inside the debian changelog entry.

This commit is contained in:
Joey Hess
2008-05-01 15:40:57 -04:00
parent b2421b584a
commit ecabe240bc
2 changed files with 10 additions and 4 deletions

View File

@@ -334,10 +334,14 @@ sub prep {
print OUT $this->name." (".$this->version."-".$this->release.") experimental; urgency=low\n";
print OUT "\n";
print OUT " * Converted from .".$this->origformat." format to .deb by alien version $Alien::Version\n";
print OUT " \n";
if (defined $this->changelogtext) {
my $ct=$this->changelogtext;
$ct=~s/^/ /gm;
print OUT $ct."\n";
}
print OUT "\n";
print OUT " -- ".$this->username." <".$this->email."> ".$this->date."\n";
print OUT "\n";
print OUT $this->changelogtext."\n" if defined $this->changelogtext;
close OUT;
# Control file.