From 21b93775d6078951932b9961b3ecd9be401e6164 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Tue, 7 Apr 2015 11:47:28 +0200 Subject: [PATCH] spec.in: sphinx -b man needs sphinx > 1.0 (part 2) Instead of listing the operating system versions that do not require the python-sphinx10 package, switch to listing the operating system versions that require the python-sphinx10 package. It's easier to maintain because there only are a few. Signed-off-by: Loic Dachary --- ceph.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index eeb622cb77a..947bd14ee8a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -75,10 +75,10 @@ BuildRequires: python BuildRequires: python-argparse BuildRequires: python-nose BuildRequires: python-requests -%if 0%{?rhel} >= 7 || 0%{?fedora} -BuildRequires: python-sphinx -%else +%if ( 0%{?rhel} > 0 && 0%{?rhel} < 7 ) || ( 0%{?centos} > 0 && 0%{?centos} < 7 ) BuildRequires: python-sphinx10 +%else +BuildRequires: python-sphinx %endif BuildRequires: python-virtualenv BuildRequires: util-linux -- 2.47.3