]> git.decadent.org.uk Git - dak.git/blobdiff - jennifer
* vars: external-overrides variable added* cron.daily: Update testing/unstable Task...
[dak.git] / jennifer
index 0e3f8dd7c2f7b0b521771295185d527901833711..0e8f0393a650a890797e0c10d6a26221c750af8d 100755 (executable)
--- a/jennifer
+++ b/jennifer
@@ -2,7 +2,7 @@
 
 # Checks Debian packages from Incoming
 # Copyright (C) 2000, 2001, 2002, 2003  James Troup <james@nocrew.org>
-# $Id: jennifer,v 1.36 2003-09-16 20:41:21 troup Exp $
+# $Id: jennifer,v 1.37 2003-09-22 01:28:08 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -45,7 +45,7 @@ re_valid_pkg_name = re.compile(r"^[\dA-Za-z][\dA-Za-z\+\-\.]+$");
 ################################################################################
 
 # Globals
-jennifer_version = "$Revision: 1.36 $";
+jennifer_version = "$Revision: 1.37 $";
 
 Cnf = None;
 Options = None;
@@ -602,8 +602,9 @@ def check_dsc ():
                 reject("%s: incompatible 'Format' version produced by a broken version of dpkg-dev 1.9.1{3,4}." % (file));
 
             # Build-Depends: ARRAY(<hex>) is not good ...
-            if dsc.get("build-depends","").find("ARRAY") == 0:
-                reject("%s: invalid 'Build-Depends' field produced by a broken version of dpkg-dev (1.10.11)" % (file));
+            if (dsc.get("build-depends","").find("ARRAY") == 0 or
+                dsc.get("build-depends-indep","").find("ARRAY") == 0):
+                reject("%s: invalid Build-Depends field produced by a broken version of dpkg-dev (1.10.11)" % (file));
 
             # Ensure the version number in the .dsc matches the version number in the .changes
             epochless_dsc_version = utils.re_no_epoch.sub('', dsc.get("version"));