Pārlūkot izejas kodu

Ignore XB- instead of XC- fields from control file binary package stanzas

dpkg-genchanges was wrongly trying to ignore XC- fields (which was a no-op,
those being handled already) when it should have been ignoring XB-.
Guillem Jover 19 gadi atpakaļ
vecāks
revīzija
7e94efde1e
3 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/dpkg-genchanges.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-08-30  Guillem Jover  <guillem@debian.org>
+
+	* scripts/dpkg-genchanges.pl: Ignore XB- fields instead of XC- fields
+	from control file binary package stanzas.
+
 2007-08-28  Guillem Jover  <guillem@debian.org>
 2007-08-28  Guillem Jover  <guillem@debian.org>
 
 
 	* scripts/update-alternatives.pl: Fix regression introduced on commit
 	* scripts/update-alternatives.pl: Fix regression introduced on commit

+ 2 - 0
debian/changelog

@@ -38,6 +38,8 @@ dpkg (1.14.6) UNRELEASED; urgency=low
   * Fix perl warnings:
   * Fix perl warnings:
     - When removing a non diverted file with dpkg-divert. Closes: #438416
     - When removing a non diverted file with dpkg-divert. Closes: #438416
   * Implement support for Homepage field. Closes: #142324
   * Implement support for Homepage field. Closes: #142324
+  * Ignore XB- fields instead of XC- fields from control file binary package
+    stanzas in dpkg-genchanges.
 
 
   [ Updated scripts translations ]
   [ Updated scripts translations ]
   * French (Frédéric Bothamy, Christian Perrier).
   * French (Frédéric Bothamy, Christian Perrier).

+ 1 - 1
scripts/dpkg-genchanges.pl

@@ -252,7 +252,7 @@ for $_ (keys %fi) {
 		push(@archvalues,$v) unless !$v || $archadded{$v}++;
 		push(@archvalues,$v) unless !$v || $archadded{$v}++;
 	    } elsif (m/^(Package|Essential|Pre-Depends|Depends|Provides)$/ ||
 	    } elsif (m/^(Package|Essential|Pre-Depends|Depends|Provides)$/ ||
 		     m/^(Recommends|Suggests|Enhances|Optional|Conflicts|Breaks|Replaces)$/ ||
 		     m/^(Recommends|Suggests|Enhances|Optional|Conflicts|Breaks|Replaces)$/ ||
-		     m/^X[CS]+-/i) {
+		     m/^X[BS]+-/i) {
 	    } else {
 	    } else {
 		&unknown(_g("package's section of control info file"));
 		&unknown(_g("package's section of control info file"));
 	    }
 	    }