diff --git a/daklib/utils.py b/daklib/utils.py index 518d66e9f36d7aaa1159a6454176c7f4eba15706..00699ec410f6963360166f032c3e41a3f4e5d5a3 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1338,4 +1338,5 @@ def is_in_debug_section(control): @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"