From: Nathan Cutler Date: Thu, 9 Jul 2015 09:51:13 +0000 (+0200) Subject: ceph.spec.in: drop SUSE-specific %py_requires macro X-Git-Tag: v0.94.4~74^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5412%2Fhead;p=ceph.git ceph.spec.in: drop SUSE-specific %py_requires macro %py_requires expands to BuildRequires: /usr/bin/python PreReq: python = 2.7 The BuildRequires: is already provided, and the PreReq is wrong because e.g. SLE11-SP3 (a platform we are trying to support) has Python 2.6. http://tracker.ceph.com/issues/12351 Fixes: #12351 Signed-off-by: Nathan Cutler (cherry picked from commit cbf6c7b46b42e163950bf7956e5b7565fca961c9) --- diff --git a/ceph.spec.in b/ceph.spec.in index b36a0b9648de..33844e00afba 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -213,9 +213,6 @@ Group: System Environment/Libraries License: LGPL-2.0 Requires: librados2 = %{epoch}:%{version}-%{release} Obsoletes: python-ceph < %{epoch}:%{version}-%{release} -%if 0%{defined suse_version} -%py_requires -%endif %description -n python-rados This package contains Python libraries for interacting with Cephs RADOS object store.