From: Sajjad Lateef <slateef@nicira.com>
Date: Tue, 21 Sep 2010 18:18:26 +0000 (-0700)
Subject: debian: Rename openvswitch-python to python-openvswitch
X-Git-Tag: v1.1.0~1114
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1d273d6d8;p=sliver-openvswitch.git

debian: Rename openvswitch-python to python-openvswitch

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
---

diff --git a/debian/automake.mk b/debian/automake.mk
index dc18961a4..c768d56b5 100644
--- a/debian/automake.mk
+++ b/debian/automake.mk
@@ -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
 
diff --git a/debian/control b/debian/control
index fde640eac..b7f2248f9 100644
--- a/debian/control
+++ b/debian/control
@@ -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
index 055838c0b..000000000
--- a/debian/openvswitch-python.dirs
+++ /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
index 35d35e784..000000000
--- a/debian/openvswitch-python.install
+++ /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
index 000000000..9bc6912a3
--- /dev/null
+++ b/debian/python-openvswitch.dirs
@@ -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
index 000000000..211ed300e
--- /dev/null
+++ b/debian/python-openvswitch.install
@@ -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/