From 601eadbf707597d9a1572efbdf86b22ff6813602 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 9 Jul 2015 11:51:13 +0200 Subject: [PATCH] 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) Conflicts: ceph.spec.in in master, the %py_requires is in the python-rados package, while in firefly it is in the python-ceph package --- ceph.spec.in | 3 --- 1 file changed, 3 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index b1372aa422a5c..9f601f0007ca7 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -219,9 +219,6 @@ Group: System Environment/Libraries License: LGPL-2.0 Requires: librados2 = %{version}-%{release} Requires: librbd1 = %{version}-%{release} -%if 0%{defined suse_version} -%py_requires -%endif %description -n python-ceph This package contains Python libraries for interacting with Cephs RADOS object storage. -- 2.39.5