From: Thomas Goirand Date: Thu, 1 Aug 2013 01:56:28 +0000 (+0800) Subject: Install usr/bin/neutron* in neutron-common X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3ee5c16627912c84e2076e00cf899d2baa3d0470;p=openstack-build%2Fneutron-build.git Install usr/bin/neutron* in neutron-common --- diff --git a/debian/neutron-common.install b/debian/neutron-common.install index 4ac3ab54a..67b8b1e68 100644 --- a/debian/neutron-common.install +++ b/debian/neutron-common.install @@ -1,4 +1,4 @@ -bin/* usr/bin +usr/bin/neutron* debian/neutron_sudoers /etc/sudoers.d etc/api-paste.ini /usr/share/neutron-common etc/policy.json /etc/neutron diff --git a/debian/rules b/debian/rules index 4045c9532..837d4cfe7 100755 --- a/debian/rules +++ b/debian/rules @@ -6,10 +6,15 @@ include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) +PYTHONS:=$(shell pyversions -vr) + %: dh $@ --with python2 -#override_dh_auto_install: +override_dh_auto_install: + set -e ; for pyvers in $(PYTHONS) ; do \ + python$$pyvers setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp ; \ + done # dh_auto_install # find . -type d -name tests | xargs rm -fr # for i in neutron/db/migration/alembic_migrations/versions/*.py ; do \