Use python-sphinx for rhel > 6 (rhbz#973321).

This commit is contained in:
Thomas Moschny 2013-06-12 19:23:41 +02:00
parent f79b20e03b
commit dea42991c2

View File

@ -28,7 +28,7 @@ BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
Requires: python-setuptools Requires: python-setuptools
%if 0%{?with_docs} %if 0%{?with_docs}
%if 0%{?fedora} %if 0%{?rhel} > 6 || 0%{?fedora}
BuildRequires: python-sphinx BuildRequires: python-sphinx
%else %else
BuildRequires: python-sphinx10 BuildRequires: python-sphinx10
@ -93,7 +93,7 @@ cp -a . %{py3dir}
%{__python} setup.py build %{__python} setup.py build
%if 0%{?with_docs} %if 0%{?with_docs}
%if 0%{?fedora} %if 0%{?rhel} > 6 || 0%{?fedora}
make -C doc html PYTHONPATH=$(pwd) make -C doc html PYTHONPATH=$(pwd)
%else %else
make -C doc html SPHINXBUILD=sphinx-1.0-build PYTHONPATH=$(pwd) make -C doc html SPHINXBUILD=sphinx-1.0-build PYTHONPATH=$(pwd)
@ -161,6 +161,7 @@ rm -rf %{buildroot}
%changelog %changelog
* Wed Jun 12 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.4.14-2 * Wed Jun 12 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.4.14-2
- Use python-sphinx for rhel > 6 (rhbz#973321).
- Fix changelog entry with an incorrect date (rhbz#973325). - Fix changelog entry with an incorrect date (rhbz#973325).
* Sat May 11 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.4.14-1 * Sat May 11 2013 Thomas Moschny <thomas.moschny@gmx.de> - 1.4.14-1