X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=jennifer;h=0e8f0393a650a890797e0c10d6a26221c750af8d;hb=a29673e49824a6c0838df50ab64ac08cf32852d8;hp=0e3f8dd7c2f7b0b521771295185d527901833711;hpb=88e38dcc11c4a5c1f69fbb55241e00f83c617a38;p=dak.git diff --git a/jennifer b/jennifer index 0e3f8dd7..0e8f0393 100755 --- a/jennifer +++ b/jennifer @@ -2,7 +2,7 @@ # Checks Debian packages from Incoming # Copyright (C) 2000, 2001, 2002, 2003 James Troup -# $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() 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"));