瀏覽代碼

Set $reduce_arch when calling parsedep.

Adam Heath 23 年之前
父節點
當前提交
7b49630ad8
共有 3 個文件被更改,包括 9 次插入4 次删除
  1. 4 0
      ChangeLog
  2. 1 0
      debian/changelog
  3. 4 4
      scripts/dpkg-checkbuilddeps.pl

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Mon Oct 27 09:42:57 CST 2003 Adam Heath <doogie@debian.org>
+
+  * scripts/dpkg-checkbuilddeps.pl: Set $reduce_arch when calling parsedep.
+
 Sun Oct 26 19:29:16 CST 2003 Adam Heath <doogie@debian.org>
 
   * scripts/dpkg-checkbuilddeps.pl: s/dpkg-checkbuild/dpkg-checkbuilddeps/

+ 1 - 0
debian/changelog

@@ -5,6 +5,7 @@ dpkg (1.10.17) unstable; urgency=medium
     and patch. Closes: Bug#151663
   * Branden Robinson <branden@debian.org>:
     s/dpkg-checkbuild/dpkg-checkbuilddeps/ in usage.
+  * dpkg-checkbuilddeps now sets $reduce_arch.  Closes: #212796.
 
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
 

+ 4 - 4
scripts/dpkg-checkbuilddeps.pl

@@ -41,16 +41,16 @@ local $/='';
 
 my $dep_regex=qr/[ \t]*(([^\n]+|\n[ \t])*)\s/; # allow multi-line
 if (defined($fi{"C Build-Depends"})) {
-	push @unmet, build_depends(parsedep($fi{"C Build-Depends"}, 1), @status);
+	push @unmet, build_depends(parsedep($fi{"C Build-Depends"}, 1, 1), @status);
 }
 if (defined($fi{"C Build-Conflicts"})) {
-	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts"}, 1), @status);
+	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts"}, 1, 1), @status);
 }
 if (! $binary_only && defined($fi{"C Build-Depends-Indep"})) {
-	push @unmet, build_depends(parsedep($fi{"C Build-Depends-Indep"}, 1), @status);
+	push @unmet, build_depends(parsedep($fi{"C Build-Depends-Indep"}, 1, 1), @status);
 }
 if (! $binary_only && defined($fi{"C Build-Conflicts-Indep"})) {
-	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts-Indep"}, 1), @status);
+	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts-Indep"}, 1, 1), @status);
 }
 
 if (@unmet) {