Add option to set multiarch flag
authorRalf Jung <post@ralfj.de>
Thu, 6 Sep 2012 10:05:24 +0000 (12:05 +0200)
committerRalf Jung <post@ralfj.de>
Thu, 6 Sep 2012 10:05:24 +0000 (12:05 +0200)
auto_debuild.py

index 61bbd9e876dfdf2de5afa0b49c6277b6964078ec..ab899838d7ed793f2167340ea6c9f20c399cbac5 100755 (executable)
@@ -169,6 +169,8 @@ def createDebianFiles(config):
                print >>f, ""
                print >>f, "Package:",binaryName
                print >>f, "Architecture:",packageArchitecture
+               if 'binaryMultiArch' in config:
+                       print >>f, "Multi-Arch:",config['binaryMultiArch']
                writeDependency(f, "Pre-Depends", ["${misc:Pre-Depends}"] + config.get('binaryPreDepends', []))
                writeDependency(f, "Depends", ["${shlibs:Depends}", "${misc:Depends}"] + buildSystem.binaryDepends +
                        config.get('binaryDepends', []))