forked from pool/python-Sphinx
Accepting request 611547 from home:mimi_vx:branches:devel:languages:python
- update to 1.7.4 - ver long list of changes - please check www.sphinx-doc.org for details - update to 1.7.4 - very long list of changes - please see http://www.sphinx-doc.org/en/master/changes.html#release-1-7-4-released-apr-25-2018 OBS-URL: https://build.opensuse.org/request/show/611547 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=106
This commit is contained in:
@@ -16,28 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%if 0%{?suse_version} != 1315
|
||||
%bcond_without latex
|
||||
%else
|
||||
%bcond_with latex
|
||||
%endif
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-Sphinx
|
||||
Version: 1.6.5
|
||||
Version: 1.7.4
|
||||
Release: 0
|
||||
Url: http://sphinx-doc.org
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://sphinx-doc.org
|
||||
Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
|
||||
Patch1: disable-test.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# workaround for suboptimal CentOS-7 project config
|
||||
#!BuildIgnore: texinfo
|
||||
Requires: python-Babel >= 1.3
|
||||
Requires: python-Jinja2 >= 2.3
|
||||
Requires: python-Pygments >= 2.0
|
||||
@@ -50,10 +50,13 @@ Requires: python-snowballstemmer >= 1.1
|
||||
Requires: python-sphinx_rtd_theme
|
||||
Requires: python-sphinxcontrib
|
||||
Requires: python-sphinxcontrib-websupport
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||
Recommends: %{name}-doc-man
|
||||
Recommends: python-SQLAlchemy >= 0.9
|
||||
Recommends: python-Whoosh >= 2.0
|
||||
Recommends: %{name}-doc-man
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-enum34
|
||||
@@ -64,21 +67,13 @@ Requires: python-typing
|
||||
Requires: python-typing
|
||||
%endif
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
%if 0%{?suse_version}
|
||||
Recommends: python-rst2pdf
|
||||
%endif
|
||||
# workaround for suboptimal CentOS-7 project config
|
||||
#!BuildIgnore: texinfo
|
||||
|
||||
%ifpython2
|
||||
Obsoletes: %{oldpython}-sphinx < %{version}
|
||||
Provides: %{oldpython}-sphinx = %{version}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -193,8 +188,8 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
|
||||
%python_uninstall_alternative sphinx-apidoc
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGES README.rst
|
||||
%python_alternative %{_bindir}/sphinx-apidoc
|
||||
%python_alternative %{_bindir}/sphinx-autogen
|
||||
%python_alternative %{_bindir}/sphinx-build
|
||||
@@ -208,8 +203,8 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
|
||||
# Requirements are not available on SLES
|
||||
%if %{with latex}
|
||||
%files %{python_files latex}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%{python_sitelib}/sphinx/texinputs/
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user