[python-quantumclient] avoid python runtime dep checking

Pádraig Brady pbrady at fedoraproject.org
Mon Apr 29 09:44:42 UTC 2013


commit a89313ce0ab4f7981dee5dfa0e4944c7a5d7ed92
Author: Pádraig Brady <P at draigBrady.com>
Date:   Mon Apr 29 10:41:52 2013 +0100

    avoid python runtime dep checking
    
    Use the more standard mechanism to avoid python run time dep checks,
    which is more general and efficient.

 python-quantumclient.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-quantumclient.spec b/python-quantumclient.spec
index 84a47d3..f504269 100644
--- a/python-quantumclient.spec
+++ b/python-quantumclient.spec
@@ -29,8 +29,8 @@ Quantum's API.
 %prep
 %setup -q -n %{name}-%{version}
 
-# Change cliff version requirement (https://bugs.launchpad.net/python-quantumclient/+bug/1049989)
-sed -i 's/cliff>=1.2.1/cliff>=1.0/' tools/pip-requires
+# let RPM handle deps
+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