[debian] fix lintian errors stable
authorJulien Jehannet <julien.jehannet@logilab.fr>
Fri, 28 Jan 2011 11:21:45 +0100
branchstable
changeset 6917 e080e7465ac4
parent 6916 3970185a8f8c
child 6918 9e607157d4cf
[debian] fix lintian errors
debian/control
debian/cubicweb-ctl.cubicweb.init
debian/cubicweb-ctl.dirs
debian/cubicweb-ctl.prerm
--- a/debian/control	Fri Jan 28 15:24:19 2011 +0100
+++ b/debian/control	Fri Jan 28 11:21:45 2011 +0100
@@ -7,15 +7,15 @@
            Adrien Di Mascio <Adrien.DiMascio@logilab.fr>,
            Aurélien Campéas <aurelien.campeas@logilab.fr>,
            Nicolas Chauvat <nicolas.chauvat@logilab.fr>
-Build-Depends: debhelper (>= 5), python-dev (>=2.5), python-central (>= 0.5)
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 7), python (>= 2.5), python-central (>= 0.5)
+Standards-Version: 3.9.1
 Homepage: http://www.cubicweb.org
 XS-Python-Version: >= 2.5, << 2.7
 
 Package: cubicweb
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, cubicweb-server (= ${source:Version}), cubicweb-twisted (= ${source:Version})
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-server (= ${source:Version}), cubicweb-twisted (= ${source:Version})
 XB-Recommends: (postgresql, postgresql-plpython) | mysql | sqlite3
 Recommends: postgresql | mysql | sqlite3
 Description: the complete CubicWeb framework
@@ -33,8 +33,8 @@
 Conflicts: cubicweb-multisources
 Replaces: cubicweb-multisources
 Provides: cubicweb-multisources
-Depends: ${python:Depends}, cubicweb-common (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-logilab-database (>= 1.3.2), cubicweb-postgresql-support | cubicweb-mysql-support | python-pysqlite2
-Recommends: pyro (< 4.0.0), cubicweb-documentation (= ${source:Version})
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-logilab-database (>= 1.3.2), cubicweb-postgresql-support | cubicweb-mysql-support | python-pysqlite2
+Recommends: pyro (<< 4.0.0), cubicweb-documentation (= ${source:Version})
 Description: server part of the CubicWeb framework
  CubicWeb is a semantic web application framework.
  .
@@ -46,7 +46,7 @@
 Package: cubicweb-postgresql-support
 Architecture: all
 # postgresql-client packages for backup/restore of non local database
-Depends: python-psycopg2, postgresql-client
+Depends: ${misc:Depends}, python-psycopg2, postgresql-client
 Description: postgres support for the CubicWeb framework
  CubicWeb is a semantic web application framework.
  .
@@ -56,7 +56,7 @@
 Package: cubicweb-mysql-support
 Architecture: all
 # mysql-client packages for backup/restore of non local database
-Depends: python-mysqldb, mysql-client
+Depends: ${misc:Depends}, python-mysqldb, mysql-client
 Description: mysql support for the CubicWeb framework
  CubicWeb is a semantic web application framework.
  .
@@ -68,8 +68,8 @@
 Architecture: all
 XB-Python-Version: ${python:Versions}
 Provides: cubicweb-web-frontend
-Depends: ${python:Depends}, cubicweb-web (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-twisted-web
-Recommends: pyro (< 4.0.0), cubicweb-documentation (= ${source:Version})
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-web (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-twisted-web
+Recommends: pyro (<< 4.0.0), cubicweb-documentation (= ${source:Version})
 Description: twisted-based web interface for the CubicWeb framework
  CubicWeb is a semantic web application framework.
  .
@@ -82,7 +82,7 @@
 Package: cubicweb-web
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, cubicweb-common (= ${source:Version}), python-simplejson (>= 1.3)
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (= ${source:Version}), python-simplejson (>= 1.3)
 Recommends: python-docutils, python-vobject, fckeditor, python-fyzz, python-imaging
 Description: web interface library for the CubicWeb framework
  CubicWeb is a semantic web application framework.
@@ -97,7 +97,7 @@
 Package: cubicweb-common
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.8.0), python-logilab-common (>= 0.54.0), python-yams (>= 0.30.1), python-rql (>= 0.28.0), python-lxml
+Depends: ${misc:Depends}, ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.8.0), python-logilab-common (>= 0.54.0), python-yams (>= 0.30.1), python-rql (>= 0.28.0), python-lxml
 Recommends: python-simpletal (>= 4.0), python-crypto
 Conflicts: cubicweb-core
 Replaces: cubicweb-core
@@ -111,7 +111,7 @@
 Package: cubicweb-ctl
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, cubicweb-common (= ${source:Version})
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (= ${source:Version})
 Description: tool to manage the CubicWeb framework
  CubicWeb is a semantic web application framework.
  .
@@ -123,7 +123,7 @@
 Package: cubicweb-dev
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, cubicweb-server (= ${source:Version}), cubicweb-web (= ${source:Version}), python-pysqlite2
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-server (= ${source:Version}), cubicweb-web (= ${source:Version}), python-pysqlite2
 Suggests: w3c-dtd-xhtml
 Description: tests suite and development tools for the CubicWeb framework
  CubicWeb is a semantic web application framework.
@@ -133,7 +133,6 @@
 
 
 Package: cubicweb-documentation
-Architecture: all
 Recommends: doc-base
 Description: documentation for the CubicWeb framework
  CubicWeb is a semantic web application framework.
--- a/debian/cubicweb-ctl.cubicweb.init	Fri Jan 28 15:24:19 2011 +0100
+++ b/debian/cubicweb-ctl.cubicweb.init	Fri Jan 28 11:21:45 2011 +0100
@@ -2,8 +2,8 @@
 
 ### BEGIN INIT INFO
 # Provides:          cubicweb
-# Required-Start:    $syslog $local_fs $network
-# Required-Stop:     $syslog $local_fs $network
+# Required-Start:    $remote_fs $syslog $local_fs $network
+# Required-Stop:     $remote_fs $syslog $local_fs $network
 # Should-Start:      $postgresql $pyro-nsd
 # Should-Stop:       $postgresql $pyro-nsd
 # Default-Start:     2 3 4 5
@@ -29,7 +29,7 @@
     status)
         python -W ignore /usr/bin/cubicweb-ctl status
         ;;
-    *)
+    start|stop|restart|*)
         python -W ignore /usr/bin/cubicweb-ctl $1 --force
         ;;
 esac
--- a/debian/cubicweb-ctl.dirs	Fri Jan 28 15:24:19 2011 +0100
+++ b/debian/cubicweb-ctl.dirs	Fri Jan 28 11:21:45 2011 +0100
@@ -4,7 +4,6 @@
 etc/bash_completion.d
 usr/bin
 usr/share/doc/cubicweb-ctl
-var/run/cubicweb
 var/log/cubicweb
 var/lib/cubicweb/backup
 var/lib/cubicweb/instances
--- a/debian/cubicweb-ctl.prerm	Fri Jan 28 15:24:19 2011 +0100
+++ b/debian/cubicweb-ctl.prerm	Fri Jan 28 11:21:45 2011 +0100
@@ -2,8 +2,7 @@
  
 case "$1" in
     purge)
-        rm -rf /etc/cubicweb.d/
-    	rm -rf /var/run/cubicweb/
+	rm -rf /etc/cubicweb.d/
 	rm -rf /var/log/cubicweb/
 	rm -rf /var/lib/cubicweb/
     ;;