Преглед изворни кода

dpkg-parsechangelog: Make the -L option actually work

Frank Lichtenheld пре 18 година
родитељ
комит
16b90057dd
3 измењених фајлова са 18 додато и 1 уклоњено
  1. 4 0
      ChangeLog
  2. 12 0
      debian/changelog
  3. 2 1
      scripts/dpkg-parsechangelog.pl

+ 4 - 0
ChangeLog

@@ -1,5 +1,9 @@
 2007-12-06  Frank Lichtenheld  <djpig@debian.org>
 
+	* scripts/dpkg-parsechangelog.pl: Make the
+	-L option actually work (it's only been eleven
+	years...)
+
 	* scripts/Dpkg/ErrorHandling.pm (report): export.
 
 2007-11-29  Frank Lichtenheld  <djpig@debian.org>

+ 12 - 0
debian/changelog

@@ -6,6 +6,18 @@ dpkg (1.14.13) UNRELEASED; urgency=low
   * Fix control file parsing for field values starting with a colon.
     Apparently nobody ever needed this until Vcs-Cvs came along.
     Closes: #453364
+  * Copy the usr/share/doc directory to dpkg-dev and dselect (Instead
+    of using symlinks). The space requirements are minimal and adding
+    the needed dependencies to comply with policy would be way more
+    inconvenient. Pointed out by Rene Engelhard. Closes: #452730
+  * Allow more than one arch and more than one type of a package
+    in debian/files. Parts of the patch by Goswin von Brederlow
+    and Bastian Blank. Closes: #356299, #377400, #229143
+  * Allow building only architecture independent packages (-A).
+    Closes: #109794, #200454
+  * Bump Standards-Version to 3.7.3 (no changes)
+  * Make the -L option of dpkg-parsechangelog actually work (it's
+    only been eleven years...)
 
   [ Updated man pages translations ]
   * Swedish (Peter Karlsson)

+ 2 - 1
scripts/dpkg-parsechangelog.pl

@@ -17,7 +17,7 @@ my $changelogfile = 'debian/changelog';
 my @parserpath = ("/usr/local/lib/dpkg/parsechangelog",
                   "$dpkglibdir/parsechangelog");
 
-my $libdir;	# XXX: Not used!?
+my $libdir;
 my $force;
 
 
@@ -79,6 +79,7 @@ if (not $force and $changelogfile ne "-") {
 
 my ($pa, $pf);
 
+unshift(@parserpath, $libdir) if $libdir;
 for my $pd (@parserpath) {
     $pa= "$pd/$format";
     if (!stat("$pa")) {