forked from pool/python-Sphinx
		
	- 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
This commit is contained in:
		@@ -1,3 +1,9 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Jul 16 12:52:54 UTC 2020 - Matej Cepl <mcepl@suse.com>
 | 
			
		||||
 | 
			
		||||
- In the new multiversion world, python*.inv is in python3.8
 | 
			
		||||
  directory not python3.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Sat Jul 11 18:49:26 UTC 2020 - Arun Persaud <arun@gmx.de>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user