From 9c403871fb8ace18fcdf2601a7567b6a623d65ef40cac82703276c2b50ebf976 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Jul 2020 12:53:58 +0000 Subject: [PATCH] - In the new multiversion world, python*.inv is in python3.8 directory not python3. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=154 --- python-Sphinx.changes | 6 ++++++ python-Sphinx.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-Sphinx.changes b/python-Sphinx.changes index dcca8b5..558dd08 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 16 12:52:54 UTC 2020 - Matej Cepl + +- In the new multiversion world, python*.inv is in python3.8 + directory not python3. + ------------------------------------------------------------------- Sat Jul 11 18:49:26 UTC 2020 - Arun Persaud diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 8796c4b..f25a605 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -236,9 +236,9 @@ mkdir build.doc # so use a copy from version 3.8.2-3.1 from Tumbleweed cp %{SOURCE2} doc/python3.inv %else -%python_expand cp %{_defaultdocdir}/%{$python_prefix}/html/objects.inv doc/%{$python_prefix}.inv +%python_expand cp %{_defaultdocdir}/python%{$python_version}/html/objects.inv doc/python%{$python_version}.inv %endif -%python_expand sed -i -e "s/\(intersphinx_mapping = ..python.: (.https:..docs.python.org.3.., \)None\()}\)/\1'%{$python_prefix}.inv'\2/g" doc/conf.py +%python_expand sed -i -e "s/\(intersphinx_mapping = ..python.: (.https:..docs.python.org.3.., \)None\()}\)/\1'python%{$python_version}.inv'\2/g" doc/conf.py %python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo %python_exec setup.py build_sphinx -b man