need python-sphinx10 on rhel
This commit is contained in:
@@ -17,7 +17,11 @@ BuildArch: noarch
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
%if 0%{?rhel}
|
||||||
|
BuildRequires: python-sphinx10
|
||||||
|
%else
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: openssh-clients
|
Requires: openssh-clients
|
||||||
|
|
||||||
@@ -44,7 +48,11 @@ mv packstack/puppet %{_builddir}/puppet
|
|||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
|
|
||||||
cd docs
|
cd docs
|
||||||
|
%if 0%{?rhel}
|
||||||
|
make man SPHINXBUILD=sphinx-1.0-build
|
||||||
|
%else
|
||||||
make man
|
make man
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|||||||
Reference in New Issue
Block a user