From 06fb578ee299d667a89fa006798d1ce546792ac5 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 9 Sep 2012 12:50:39 +0200 Subject: [PATCH] allow specifying breaks, replaces --- auto_debuild.py | 2 ++ 1 file changed, 2 insertions(+) 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))) -- 2.30.2