From: Thomas Goirand Date: Thu, 1 Aug 2013 10:00:57 +0000 (+0800) Subject: Explicitely using --buildsystem=python_distutils X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=862d7d5f8751280b002c86553644480a73ac0e7a;p=openstack-build%2Fneutron-build.git Explicitely using --buildsystem=python_distutils Rewritten-From: a0dabcaaac12db92f37369f194c208d9d1da479a --- diff --git a/trusty/debian/rules b/trusty/debian/rules index 837d4cfe7..bfc6c64a1 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -9,11 +9,11 @@ export OSLO_PACKAGE_VERSION=$(VERSION) PYTHONS:=$(shell pyversions -vr) %: - dh $@ --with python2 + dh $@ --buildsystem=python_distutils --with python2 override_dh_auto_install: set -e ; for pyvers in $(PYTHONS) ; do \ - python$$pyvers setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp ; \ + python$$pyvers setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp ; \ done # dh_auto_install # find . -type d -name tests | xargs rm -fr @@ -23,7 +23,7 @@ override_dh_auto_install: # done override_dh_install: - dh_install --fail-missing -X/usr/etc -X/usr/bin + dh_install -O--buildsystem=python_distutils --fail-missing -X/usr/etc -X/usr/bin install -D -m 0640 etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini $(CURDIR)/debian/neutron-common/usr/share/neutron-common/ovs_neutron_plugin.ini