add support for specifying conflicts
authorRalf Jung <post@ralfj.de>
Sun, 12 Aug 2012 13:09:13 +0000 (15:09 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 12 Aug 2012 13:09:13 +0000 (15:09 +0200)
auto_debuild.py

index 0ac65979510c430d226668b7cc05e5aa7c11563e..c7a762854abff687b89a5a24a8b1a28ed45411df 100755 (executable)
@@ -141,6 +141,7 @@ def createDebianFiles(config):
                writeDependency(f, "Depends", ["${shlibs:Depends}", "${misc:Depends}"] + config.get('binaryDepends', []))
                writeDependency(f, "Recommends", config.get('binaryRecommends', []))
                writeDependency(f, "Provides", config.get('binaryProvides', [sourceName]))
+               writeDependency(f, "Conflicts", config.get('binaryConflicts', []))
                print >>f, "Description:",sourceName,"(auto-debuild)"
                print >>f, " Package auto-generated by auto-debuild."
                files.append(os.path.join(debDir, "%s_%s_%s.deb" % (binaryName, version, arch)))