]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Removes python libs and /usr/etc form neutron-common
authorThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 12:41:40 +0000 (14:41 +0200)
committerThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 12:46:38 +0000 (14:46 +0200)
Rewritten-From: 0b7b6d95253589953d93d56f56839c76e2b4a387

xenial/debian/rules

index 148c8289824c7dc651491a687428d43cc0e50552..753d6dc63701255abc3d724f938b9d3051b2acf6 100755 (executable)
@@ -28,6 +28,9 @@ override_dh_install:
                cp -auxf neutron $(CURDIR)/debian/python-neutron/usr/lib/python$$pyvers/dist-packages ; \
        done
        dh_install -O--buildsystem=python_distutils --fail-missing -X/usr/etc -X/usr/bin
+       rm -rf $(CURDIR)/debian/neutron-common/usr/lib
+       rm -rf $(CURDIR)/debian/neutron-common/usr/bin/quantum*
+       rm -rf $(CURDIR)/debian/neutron-common/usr/etc
 
        install -D -m 0640 etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini       $(CURDIR)/debian/neutron-common/usr/share/neutron-common/ovs_neutron_plugin.ini