浏览代码

dpkg-source issued spurious warnings about fields defined with
XB-. They now get correctly suppressed. Closes: #374154

Frank Lichtenheld 20 年之前
父节点
当前提交
1f47019365
共有 3 个文件被更改,包括 11 次插入1 次删除
  1. 6 0
      ChangeLog
  2. 4 0
      debian/changelog
  3. 1 1
      scripts/dpkg-source.pl

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2006-06-17  Frank Lichtenheld  <djpig@debian.org>
+
+	* scripts/dpkg-source.pl: Fix typo in regex that caused
+	spurious warnings for user defined fields even though they
+	used the correct XB- syntax.
+
 2006-06-16  Guillem Jover  <guillem@debian.org>
 
 	* scripts/controllib.pl (parsechangelog): Move substvar initialization

+ 4 - 0
debian/changelog

@@ -15,6 +15,10 @@ dpkg (1.13.22~) UNRELEASED; urgency=low
   * Add missing comment serving as documentation about abort-remove on
     removal in dpkg.postinst (Justin Pryzby). Closes: #372145
   * Fix typo in dpkg-deb manpage (Robert Luberda). Closes: #373999
+  
+  [ Frank Lichtenheld ]
+  * dpkg-source issued spurious warnings about fields defined with
+    XB-. They now get correctly suppressed. Closes: #374154
 
   [ Updated dpkg Translations ]
   * Romanian (Eddy Petrişor).

+ 1 - 1
scripts/dpkg-source.pl

@@ -243,7 +243,7 @@ if ($opmode eq 'build') {
             } elsif (m/^(Package|Essential|Pre-Depends|Depends|Provides)$/i ||
                      m/^(Recommends|Suggests|Optional|Conflicts|Replaces)$/i ||
                      m/^(Enhances|Description|Section|Priority)$/i ||
-                     m/^X[CS]+-/i) {
+                     m/^X[BC]+-/i) {
             } else {
                 &unknown(_g("package's section of control info file"));
             }