r52328 - /trunk/dh-make-perl/lib/DhMakePerl.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Feb 8 21:59:14 UTC 2010


Author: dmn
Date: Mon Feb  8 21:59:10 2010
New Revision: 52328

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52328
Log:
copyright_from_changelog: refer to changelog via debian_file()

this way we use the right file no mater the current directory

Modified:
    trunk/dh-make-perl/lib/DhMakePerl.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=52328&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Mon Feb  8 21:59:10 2010
@@ -1574,7 +1574,8 @@
   my ( $self, $firstmaint, $firstyear ) = @_;
   my %maintainers = ();
   @{$maintainers{$firstmaint}} = ($firstyear);
-  my $chglog = Parse::DebianChangelog->init( { infile => 'debian/changelog' } );
+my $chglog = Parse::DebianChangelog->init(
+    { infile => $self->debian_file('changelog') } );
   foreach($chglog->data()) {
     my $person = $_->Maintainer;
     my $date = $_->Date;




More information about the Pkg-perl-cvs-commits mailing list