Skip to content

Commit

Permalink
spec.in: sphinx -b man needs sphinx > 1.0 (part 2)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ldachary committed Apr 7, 2015
1 parent c789407 commit 21b9377
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21b9377

Please sign in to comment.