]> git.decadent.org.uk Git - dak.git/commitdiff
debug packages now also have "Auto-Built-Package: debug-symbols"
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 09:56:41 +0000 (10:56 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 09:56:41 +0000 (10:56 +0100)
daklib/utils.py

index 518d66e9f36d7aaa1159a6454176c7f4eba15706..00699ec410f6963360166f032c3e41a3f4e5d5a3 100644 (file)
@@ -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"