- if 'binaryPreDepends' in config:
- print >>f, "Pre-Depends:",writeDebList(config['binaryPreDepends'])
- print >>f, "Depends:",writeDebList(["${shlibs:Depends}", "${misc:Depends}"] + config.get('binaryDepends', []))
- print >>f, "Provides:",writeDebList(config.get('binaryProvides', [sourceName]))
+ writeDependency(f, "Pre-Depends", ["${misc:Pre-Depends}"] + config.get('binaryPreDepends', []))
+ writeDependency(f, "Depends", ["${shlibs:Depends}", "${misc:Depends}"] + config.get('binaryDepends', []))
+ writeDependency(f, "Recommends", config.get('binaryRecommends', []))
+ writeDependency(f, "Provides", config.get('binaryProvides', [sourceName]))