From: Ralf Jung Date: Sun, 9 Sep 2012 10:50:39 +0000 (+0200) Subject: allow specifying breaks, replaces X-Git-Url: https://git.ralfj.de/auto-debuild.git/commitdiff_plain/06fb578ee299d667a89fa006798d1ce546792ac5?hp=738f8958591a071df1b851088799f3d052784eba allow specifying breaks, replaces --- diff --git a/auto_debuild.py b/auto_debuild.py index ab89983..e28d34d 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -177,6 +177,8 @@ def createDebianFiles(config): writeDependency(f, "Recommends", config.get('binaryRecommends', [])) writeDependency(f, "Provides", config.get('binaryProvides', [sourceName])) writeDependency(f, "Conflicts", config.get('binaryConflicts', [])) + writeDependency(f, "Breaks", config.get('binaryBreaks', []) + config.get('binaryBreaksReplaces', [])) + writeDependency(f, "Replaces", config.get('binaryReplaces', []) + config.get('binaryBreaksReplaces', [])) 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)))