debian: Rename openvswitch-python to python-openvswitch
authorSajjad Lateef <slateef@nicira.com>
Tue, 21 Sep 2010 18:18:26 +0000 (11:18 -0700)
committerSajjad Lateef <slateef@nicira.com>
Tue, 21 Sep 2010 18:33:07 +0000 (11:33 -0700)
Package name changed to be consistent with
Debian Python policy.

The python files are installed in
/usr/share/python-support/python-openvswitch/ovs and
/usr/share/python-support/python-openvswitch/ovs/db

Changed Section to python, per lintian

debian/automake.mk
debian/control
debian/openvswitch-python.dirs [deleted file]
debian/openvswitch-python.install [deleted file]
debian/python-openvswitch.dirs [new file with mode: 0644]
debian/python-openvswitch.install [new file with mode: 0644]

index dc18961..c768d56 100644 (file)
@@ -29,8 +29,6 @@ EXTRA_DIST += \
        debian/openvswitch-pki-server.install \
        debian/openvswitch-pki-server.postinst \
        debian/openvswitch-pki.postinst \
-       debian/openvswitch-python.dirs \
-       debian/openvswitch-python.install \
        debian/openvswitch-switch.README.Debian \
        debian/openvswitch-switch.dirs \
        debian/openvswitch-switch.init \
@@ -41,6 +39,8 @@ EXTRA_DIST += \
        debian/openvswitch-switch.postrm \
        debian/openvswitch-switch.template \
        debian/ovs-bugtool \
+       debian/python-openvswitch.dirs \
+       debian/python-openvswitch.install \
        debian/rules \
        debian/rules.modules
 
index fde640e..b7f2248 100644 (file)
@@ -96,8 +96,9 @@ Description: Debug symbols for Open vSwitch packages
  packages.  Install it to debug one of them or to examine a core dump
  produced by one of them.
 
-Package: openvswitch-python 
+Package: python-openvswitch 
 Architecture: all
+Section: python
 Depends: ${python:Depends}, openvswitch-switch (= ${binary:Version})
 Provides: ${python:Provides}
 Description: Python bindings for Open vSwitch
diff --git a/debian/openvswitch-python.dirs b/debian/openvswitch-python.dirs
deleted file mode 100644 (file)
index 055838c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/share/python-support/openvswitch-python/ovs/
-usr/share/python-support/openvswitch-python/ovs/db/
diff --git a/debian/openvswitch-python.install b/debian/openvswitch-python.install
deleted file mode 100644 (file)
index 35d35e7..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-python/ovs/*.py usr/share/python-support/openvswitch-python/ovs/
-python/ovs/db/*.py usr/share/python-support/openvswitch-python/ovs/db/
diff --git a/debian/python-openvswitch.dirs b/debian/python-openvswitch.dirs
new file mode 100644 (file)
index 0000000..9bc6912
--- /dev/null
@@ -0,0 +1,2 @@
+usr/share/python-support/python-openvswitch/ovs/
+usr/share/python-support/python-openvswitch/ovs/db/
diff --git a/debian/python-openvswitch.install b/debian/python-openvswitch.install
new file mode 100644 (file)
index 0000000..211ed30
--- /dev/null
@@ -0,0 +1,2 @@
+python/ovs/*.py usr/share/python-support/python-openvswitch/ovs/
+python/ovs/db/*.py usr/share/python-support/python-openvswitch/ovs/db/