[openstack-cinder] maint: fix removal of setup.py auto dependency operations

Pádraig Brady pbrady at fedoraproject.org
Fri Sep 14 10:08:01 UTC 2012


commit 0465b7d68c78e27551393f48acfe88fc5b11f7cf
Author: Pádraig Brady <P at draigBrady.com>
Date:   Fri Sep 14 11:06:20 2012 +0100

    maint: fix removal of setup.py auto dependency operations

 openstack-cinder.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/openstack-cinder.spec b/openstack-cinder.spec
index e1f00a5..e8621d5 100644
--- a/openstack-cinder.spec
+++ b/openstack-cinder.spec
@@ -119,7 +119,8 @@ find . \( -name .gitignore -o -name .placeholder \) -delete
 
 find cinder -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
 
-sed -i '/setuptools_git/d' setup.py
+# TODO: Have the following handle multi line entries
+sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
 
 %build
 %{__python} setup.py build


More information about the scm-commits mailing list