From a8eab36cb0aef8e83ec1c2e57684143bcf800ff7 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 3 Apr 2015 01:38:15 +0200 Subject: [PATCH] spec.in: sphinx -b man needs sphinx > 1.0 It is used to build the man pages. Signed-off-by: Loic Dachary --- ceph.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index cbd9004ba90..eeb622cb77a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -75,7 +75,11 @@ BuildRequires: python BuildRequires: python-argparse BuildRequires: python-nose BuildRequires: python-requests +%if 0%{?rhel} >= 7 || 0%{?fedora} BuildRequires: python-sphinx +%else +BuildRequires: python-sphinx10 +%endif BuildRequires: python-virtualenv BuildRequires: util-linux BuildRequires: xfsprogs -- 2.47.3