[dak/master] p-u
check for the existance of Description: in a binary package.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/process_unchecked.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py
index 0a12eac..5fce9fa 100755
--- a/dak/process_unchecked.py
+++ b/dak/process_unchecked.py
@@ -437,6 +437,15 @@ def check_files():
deb_file.close()
# Can't continue, none of the checks on control would work.
continue
+
+ # Check for mandantory "Description:"
+ deb_file.seek ( 0 )
+ try:
+ apt_pkg.ParseSection(apt_inst.debExtractControl(deb_file))["Description"] + '\n'
+ except:
+ reject("%s: Missing Description in binary package" % (f))
+ continue
+
deb_file.close()
# Check for mandatory fields
--
1.5.6.5
Reply to: