From: Ansgar Burchardt Date: Thu, 6 Nov 2014 18:58:30 +0000 (+0100) Subject: Reject uploads with Multi-Arch: no X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=631dedeb25752a268d4c5315ad47f01fc05c35f6;p=dak.git Reject uploads with Multi-Arch: no Multi-Arch: no currently breaks wanna-build. We don't want that to happen. Reference: https://bugs.debian.org/768353 --- diff --git a/daklib/checks.py b/daklib/checks.py index 66f39ffb..26439aaa 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -361,6 +361,11 @@ class BinaryCheck(Check): except: raise Reject('{0}: APT could not parse {1} field'.format(fn, field)) + # "Multi-Arch: no" breaks wanna-build, #768353 + multi_arch = control.get("Multi-Arch") + if multi_arch == 'no': + raise Reject('{0}: Multi-Arch: no support in Debian is broken (#768353)'.format(fn)) + class BinaryTimestampCheck(Check): """check timestamps of files in binary packages