X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Fchecks.py;h=26439aaa798e2726b5ca5cb21d6f5f8a42258c61;hb=a1cbf44860dcdae29b92a827e43f14d5ee5bd1e6;hp=c5a3f35dc6cdad45e3dca0438f9017acfc081283;hpb=934c6eaee7864ecaaffaa8a85afa5464f7884268;p=dak.git diff --git a/daklib/checks.py b/daklib/checks.py index c5a3f35d..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 @@ -684,6 +689,7 @@ class NoSourceOnlyCheck(Check): if not allow_no_arch_indep_uploads \ and 'all' not in changes.architectures \ + and 'experimental' not in changes.distributions \ and changes.source.package_list.has_arch_indep_packages(): raise Reject('Uploads not including architecture-independent packages are not allowed.')