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=12796a9e37f3ac36f3234c098c0d99e2004a62bf;p=openstack-build%2Fneutron-build.git Explicitely using --buildsystem=python_distutils Rewritten-From: a0dabcaaac12db92f37369f194c208d9d1da479a --- diff --git a/xenial/debian/rules b/xenial/debian/rules index 837d4cfe7..bfc6c64a1 100755 --- a/xenial/debian/rules +++ b/xenial/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