diff --git a/debian/control b/debian/control index 2b6d1a8..82abf46 100644 --- a/debian/control +++ b/debian/control @@ -81,7 +81,7 @@ Description: OpenStack Clustering API Client Library - Python 2.7 . This package contains the Python 2.7 module. -Package: python3-python-senlinclient +Package: python3-senlinclient Architecture: all Depends: python3-babel, python3-heatclient (>= 0.6.0), @@ -104,7 +104,7 @@ Description: OpenStack Clustering API Client Library - Python 3.x . This package contains the Python 3.x module. -Package: python-python-senlinclient-doc +Package: python-senlinclient-doc Section: doc Architecture: all Depends: ${misc:Depends}, diff --git a/debian/python-python-senlinclient-doc.doc-base b/debian/python-senlinclient-doc.doc-base similarity index 58% rename from debian/python-python-senlinclient-doc.doc-base rename to debian/python-senlinclient-doc.doc-base index f697ce0..f07929e 100644 --- a/debian/python-python-senlinclient-doc.doc-base +++ b/debian/python-senlinclient-doc.doc-base @@ -5,5 +5,5 @@ Abstract: Sphinx documentation for python-senlinclient Section: Programming/Python Format: HTML -Index: /usr/share/doc/python-python-senlinclient-doc/html/index.html -Files: /usr/share/doc/python-python-senlinclient-doc/html/* +Index: /usr/share/doc/python-senlinclient-doc/html/index.html +Files: /usr/share/doc/python-senlinclient-doc/html/* diff --git a/debian/rules b/debian/rules index c96cc43..2e62ae0 100755 --- a/debian/rules +++ b/debian/rules @@ -13,11 +13,11 @@ export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d override_dh_auto_install: set -e ; for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install --install-layout=deb \ - --root $(CURDIR)/debian/python-python-senlinclient; \ + --root $(CURDIR)/debian/python-senlinclient; \ done set -e ; for pyvers in $(PYTHON3S); do \ python$$pyvers setup.py install --install-layout=deb \ - --root $(CURDIR)/debian/python3-python-senlinclient; \ + --root $(CURDIR)/debian/python3-senlinclient; \ done rm -rf $(CURDIR)/debian/python*-python-senlinclient/usr/lib/python*/dist-packages/*.pth @@ -42,7 +42,7 @@ endif override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b html doc/source debian/python-python-senlinclient-doc/usr/share/doc/python-python-senlinclient-doc/html + sphinx-build -b html doc/source debian/python-senlinclient-doc/usr/share/doc/python-senlinclient-doc/html dh_sphinxdoc -O--buildsystem=python_distutils endif