]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
spec.in: sphinx -b man needs sphinx > 1.0 (part 2) 4287/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 7 Apr 2015 09:47:28 +0000 (11:47 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 7 Apr 2015 10:09:03 +0000 (12:09 +0200)
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 <ldachary@rehdat.com>
ceph.spec.in

index eeb622cb77a6fc2f1b4a74713970beeb47ad726d..947bd14ee8aa5355986c06231ceada25e416167a 100644 (file)
@@ -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