| |
@@ -24,11 +24,11 @@
|
| |
%global upstream_name Sphinx
|
| |
|
| |
Name: python-sphinx
|
| |
- %global general_version 5.0.2
|
| |
+ %global general_version 5.1.1
|
| |
#global prerel ...
|
| |
%global upstream_version %{general_version}%{?prerel}
|
| |
Version: %{general_version}%{?prerel:~%{prerel}}
|
| |
- Release: 2%{?dist}
|
| |
+ Release: 1%{?dist}
|
| |
Epoch: 1
|
| |
Summary: Python documentation generator
|
| |
|
| |
@@ -236,7 +236,7 @@
|
| |
documentation, but has now been cleaned up in the hope that it will be
|
| |
useful to many other projects.
|
| |
|
| |
- This package contains documentation in reST and HTML formats.
|
| |
+ This package contains documentation in the HTML format.
|
| |
|
| |
|
| |
%prep
|
| |
@@ -268,6 +268,10 @@
|
| |
make html SPHINXBUILD="$SPHINXBUILD"
|
| |
make man SPHINXBUILD="$SPHINXBUILD"
|
| |
rm -rf _build/html/.buildinfo
|
| |
+ # Those files are copied to _build/html/_images and loaded to the
|
| |
+ # html pages from there - we can safely remove the duplicated and unused files
|
| |
+ rm -rf _build/html/_static/themes _build/html/_static/tutorial
|
| |
+ rm -f _build/html/_static/more.png _build/html/_static/translation.svg
|
| |
mv _build/html ..
|
| |
popd
|
| |
|
| |
@@ -294,12 +298,6 @@
|
| |
done
|
| |
popd
|
| |
|
| |
- # Deliver rst files
|
| |
- rm -rf doc/_build
|
| |
- sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile
|
| |
- mv doc reST
|
| |
- rm reST/make.bat
|
| |
-
|
| |
# Move language files to /usr/share;
|
| |
# patch to support this incorporated in 0.6.6
|
| |
pushd %{buildroot}%{python3_sitelib}
|
| |
@@ -360,10 +358,15 @@
|
| |
|
| |
%files doc
|
| |
%license LICENSE
|
| |
- %doc html reST
|
| |
+ %doc html
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Aug 15 2022 Karolina Surma <ksurma@redhat.com> - 1:5.1.1-1
|
| |
+ - Update to 5.1.1
|
| |
+ - Fixes rhbz#2110473
|
| |
+ - Remove reST documentation from the -doc package, ship only HTML
|
| |
+
|
| |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.0.2-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
| |
|
| |
Impact check runs in Copr: https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-5.1.1
Identified one Sphinx-related failure so far: python-sklearn-genetic-opt, will investigate how to fix.