From: Ralf Jung Date: Sun, 12 Aug 2012 13:09:13 +0000 (+0200) Subject: add support for specifying conflicts X-Git-Url: https://git.ralfj.de/auto-debuild.git/commitdiff_plain/bc80860e910048709d5d405e5148cae6c75a0dc6?ds=inline add support for specifying conflicts --- diff --git a/auto_debuild.py b/auto_debuild.py index 0ac6597..c7a7628 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -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)))