missingfields.append(keyword)
if len(missingfields):
- raise ParseChangesError("Missing mandantory field(s) in changes file (policy 5.5): %s" % (missingfields))
+ raise ParseChangesError("Missing mandatory field(s) in changes file (policy 5.5): %s" % (missingfields))
return changes
@return: True if the binary package is a debug package
"""
section = control['Section'].split('/', 1)[-1]
- return section == "debug"
+ auto_built_package = control.get("Auto-Built-Package")
+ return section == "debug" and auto_built_package == "debug-symbols"