Wichert Akkerman лет назад: 27
Родитель
Сommit
1de8cbcdaf
3 измененных файлов с 3 добавлено и 2 удалено
  1. 1 0
      ChangeLog
  2. 1 1
      scripts/dpkg-gencontrol.pl
  3. 1 1
      scripts/dpkg-source.pl

+ 1 - 0
ChangeLog

@@ -1,6 +1,7 @@
 Fri Nov 12 01:47:24 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Correct names for build-depency names according to Bug# 49792
+  * .. and for dpkg-source.pl as well
 
 Mon Nov  8 17:45:50 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 

+ 1 - 1
scripts/dpkg-gencontrol.pl

@@ -46,7 +46,7 @@ $i=100;grep($fieldimps{$_}=$i--,
           qw(Package Version Section Priority Architecture Essential
              Pre-Depends Depends Recommends Suggests Enhances Optional 
 	     Conflicts Replaces Provides Installed-Size Maintainer Source
-	     Description Build-Depends Build-Depends-Indep  Build-Conflicts
+	     Description Build-Depends Build-Depends-Indep Build-Conflicts
 	     Build-Conflicts-Indep Source));
 
 while (@ARGV) {

+ 1 - 1
scripts/dpkg-source.pl

@@ -122,7 +122,7 @@ if ($opmode eq 'build') {
 #print STDERR "G key >$_< value >$v<\n";
             if (m/^Source$/) { &setsourcepackage; }
             elsif (m/^Standards-Version$|^Maintainer$/) { $f{$_}= $v; }
-	    elsif (m/^Build-(Indep-)?(Depends|Conflicts)$/i) { $f{$_}= $v; }
+	    elsif (m/^Build-(Depends|Conflicts)(-Indep)?$/i) { $f{$_}= $v; }
             elsif (s/^X[BC]*S[BC]*-//i) { $f{$_}= $v; }
             elsif (m/^(Section|Priority|Files)$/ || m/^X[BC]+-/i) { }
             else { &unknown('general section of control info file'); }