]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: drop SUSE-specific %py_requires macro 5261/head
authorNathan Cutler <ncutler@suse.com>
Thu, 9 Jul 2015 09:51:13 +0000 (11:51 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 16 Jul 2015 12:18:12 +0000 (14:18 +0200)
%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 <ncutler@suse.com>
ceph.spec.in

index 375028b7f2e6d340d3e4535fab56e477bfd445ee..49b495348f28c2d5a2f13152ce681f41ccc7d269 100644 (file)
@@ -242,9 +242,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.