[python-keystoneclient] do not generate deps in egginfo

Alan Pevec apevec at fedoraproject.org
Wed Jan 30 17:33:17 UTC 2013


commit 8a58aaa6148ebf78d9aabf6b3f31e8bdf4238ea6
Author: Alan Pevec <apevec at redhat.com>
Date:   Wed Jan 30 18:04:23 2013 +0100

    do not generate deps in egginfo
    
    let RPM handle deps

 python-keystoneclient.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-keystoneclient.spec b/python-keystoneclient.spec
index 6535351..03d0ae8 100644
--- a/python-keystoneclient.spec
+++ b/python-keystoneclient.spec
@@ -4,21 +4,19 @@ Name:       python-keystoneclient
 # https://lists.launchpad.net/openstack/msg14248.html
 Epoch:      1
 Version:    0.2.2
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Python API and CLI for OpenStack Keystone
 
 Group:      Development/Languages
 License:    ASL 2.0
-URL:        https://github.com/openstack/python-keystoneclient
-BuildArch:  noarch
-
+URL:        http://pypi.python.org/pypi/%{name}
 Source0:    http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
 
-
 #
 # patches_base=0.2.2
 #
 
+BuildArch:  noarch
 Requires:   python-prettytable
 Requires:   python-setuptools
 Requires:   python-simplejson
@@ -46,6 +44,8 @@ Keystone's API.
 %setup -q
 # Remove bundled egg-info
 rm -rf python_keystoneclient.egg-info
+# 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