move sphinx-build condition out of nesting
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
5a3317177d
commit
fe6880366b
@ -127,6 +127,9 @@ BuildRequires: libX11-devel
|
|||||||
%if %{with cmake_enables_ncurses}
|
%if %{with cmake_enables_ncurses}
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with cmake_enables_sphinx}
|
||||||
|
BuildRequires: %{_bindir}/sphinx-build
|
||||||
|
%endif
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
@ -134,9 +137,6 @@ BuildRequires: expat-devel
|
|||||||
BuildRequires: jsoncpp-devel
|
BuildRequires: jsoncpp-devel
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
BuildRequires: libarchive-devel
|
BuildRequires: libarchive-devel
|
||||||
%if %{with cmake_enables_sphinx}
|
|
||||||
BuildRequires: /usr/bin/sphinx-build
|
|
||||||
%endif
|
|
||||||
%else
|
%else
|
||||||
BuildRequires: libarchive3-devel
|
BuildRequires: libarchive3-devel
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user