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.

6
debian/changelog vendored
View File

@@ -1,10 +1,12 @@
alien (8.72) UNRELEASED; urgency=low
alien (8.72) unstable; urgency=low
* Use debhelper 7, rules file minimisation.
* Improve parsing of tgz filenames, to avoid confusion when the filename
includes the package type (ie, "noarch"). Patch from Andrej Ricnik-Bay.
* When generating a debian changelog file, work around bug #478925 by
including the alien changelog text inside the debian changelog entry.
-- Joey Hess <joeyh@debian.org> Thu, 24 Apr 2008 02:00:59 -0400
-- Joey Hess <joeyh@debian.org> Thu, 01 May 2008 15:40:34 -0400
alien (8.71) unstable; urgency=low