Package: coco-cs
Version: 20110419-1
Severity: serious
Tags: patch
Justification: Policy 7.2

coco-cs does not list any library package dependencies required for it to 
operate. This is because the package does not call dh_clideps to generate this 
list of dependencies.

The attached patch is a fix for this.

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty'), 
(100, 'natty-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u coco-cs-20110419/debian/control coco-cs-20110419/debian/control
--- coco-cs-20110419/debian/control
+++ coco-cs-20110419/debian/control
@@ -2,13 +2,13 @@
 Section: devel
 Priority: optional
 Maintainer: Markus Loeberbauer <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), mono-devel (>= 2.6.7)
+Build-Depends: debhelper (>= 7.0.50~), mono-devel (>= 2.6.7), cli-common-dev (>= 0.5.7~)
 Standards-Version: 3.8.4
 Homepage: http://www.ssw.uni-linz.ac.at/Research/Projects/Coco/
 
 Package: coco-cs
 Architecture: all
-Depends: mono-runtime
+Depends: ${cli:Depends}, ${misc:Depends}
 Description: Coco/R Compiler Generator (C-Sharp Version)
  Coco/R is a compiler generator, which takes an attributed grammar of a source
  language and generates a scanner and a parser for this language. The scanner
diff -u coco-cs-20110419/debian/rules coco-cs-20110419/debian/rules
--- coco-cs-20110419/debian/rules
+++ coco-cs-20110419/debian/rules
@@ -74,8 +74,11 @@
 	dh_strip
 	dh_compress
 	dh_fixperms
+	dh_clifixperms
 #	dh_perl
 #	dh_makeshlibs
+	dh_clistrip
+	dh_clideps
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol

Reply via email to