diff --git a/Sphinx-1.5.2.tar.gz b/Sphinx-1.5.2.tar.gz deleted file mode 100644 index 0af5b75..0000000 --- a/Sphinx-1.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:049c48393909e4704a6ed4de76fd39c8622e165414660bfb767e981e7931c722 -size 4418646 diff --git a/Sphinx-1.6.2.tar.gz b/Sphinx-1.6.2.tar.gz new file mode 100644 index 0000000..8e74efc --- /dev/null +++ b/Sphinx-1.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67527d767dff9a2e2159c501265cff47b6d96d39e036e8b971d6c143ff303197 +size 4670627 diff --git a/disable-test.patch b/disable-test.patch new file mode 100644 index 0000000..ef3d5a8 --- /dev/null +++ b/disable-test.patch @@ -0,0 +1,12 @@ +Index: python-Sphinx/Sphinx-1.6.2/tests/test_build_latex.py +=================================================================== +--- Sphinx-1.6.2/tests/test_build_latex.py ++++ Sphinx-1.6.2/tests/test_build_latex.py +@@ -1011,6 +1011,7 @@ def test_latex_raw_directive(app, status + + + @pytest.mark.sphinx('latex', testroot='images') ++@pytest.mark.skip(reason="no remote access in OBS") + def test_latex_remote_images(app, status, warning): + app.builder.build_all() + diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 30721e5..f4690a2 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jun 23 18:04:59 UTC 2017 - tbechtold@suse.com + +- update to 1.6.2: + * See http://www.sphinx-doc.org/en/stable/changes.html +- Adjust Requires and BuildRequires +- Add disable-test.patch to disable test which needs remote access. + ------------------------------------------------------------------- Mon May 8 15:38:53 UTC 2017 - toddrme2178@gmail.com diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 85adb76..ea401fa 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -25,13 +25,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Sphinx -Version: 1.5.2 +Version: 1.6.2 Release: 0 Url: http://sphinx-doc.org Summary: Python documentation generator License: BSD-2-Clause Group: Development/Languages/Python Source: https://pypi.io/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} @@ -40,19 +41,22 @@ BuildRequires: python-rpm-macros # SECTION documentation requirements BuildRequires: %{python_module Babel >= 1.3} BuildRequires: %{python_module Jinja2 >= 2.3} -BuildRequires: %{python_module Pygments >= 2.1} +BuildRequires: %{python_module Pygments >= 2.0} BuildRequires: %{python_module alabaster >= 0.7} BuildRequires: %{python_module docutils >= 0.11} BuildRequires: %{python_module imagesize} -BuildRequires: %{python_module requests >= 2.4} +BuildRequires: %{python_module requests >= 2.0.0} BuildRequires: %{python_module six >= 1.5} BuildRequires: %{python_module snowballstemmer >= 1.1} BuildRequires: %{python_module sphinx_rtd_theme} +BuildRequires: %{python_module sphinxcontrib-websupport} +BuildRequires: %{python_module typing} # ENDSECTION doc requirements # SECTION testsuite requirements BuildRequires: %{python_module html5lib} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} +BuildRequires: ImageMagick # ENDSECTION # for python 2 only: BuildRequires: python-enum34 @@ -62,7 +66,7 @@ Requires: python-Pygments >= 2.0 Requires: python-alabaster >= 0.7 Requires: python-docutils >= 0.11 Requires: python-imagesize -Requires: python-requests >= 2.4 +Requires: python-requests >= 2.0.0 Requires: python-six >= 1.5 Requires: python-snowballstemmer >= 1.1 Requires: python-sphinx_rtd_theme @@ -192,8 +196,8 @@ This package contains the LaTeX components for %{name}. %prep %setup -q -n Sphinx-%{version} +%patch1 -p1 -rm -r sphinx/locale/__init__.pyc # drop shipped garbage sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line encoding