Remove reST docs from the -doc package, ship only HTML

This commit is contained in:
Karolina Surma 2022-08-22 13:56:02 +02:00
parent 2da599dd9a
commit 9104ffe553

View File

@ -236,7 +236,7 @@ Brandl. It was originally created to translate the new Python
documentation, but has now been cleaned up in the hope that it will be documentation, but has now been cleaned up in the hope that it will be
useful to many other projects. useful to many other projects.
This package contains documentation in reST and HTML formats. This package contains documentation in the HTML format.
%prep %prep
@ -294,12 +294,6 @@ do
done done
popd 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; # Move language files to /usr/share;
# patch to support this incorporated in 0.6.6 # patch to support this incorporated in 0.6.6
pushd %{buildroot}%{python3_sitelib} pushd %{buildroot}%{python3_sitelib}
@ -360,13 +354,14 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
%files doc %files doc
%license LICENSE %license LICENSE
%doc html reST %doc html
%changelog %changelog
* Mon Aug 15 2022 Karolina Surma <ksurma@redhat.com> - 1:5.1.1-1 * Mon Aug 15 2022 Karolina Surma <ksurma@redhat.com> - 1:5.1.1-1
- Update to 5.1.1 - Update to 5.1.1
- Fixes rhbz#2110473 - 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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild