From 9104ffe5536a0e88842dc18bde13ff3a5b084b85 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Mon, 22 Aug 2022 13:56:02 +0200 Subject: [PATCH] Remove reST docs from the -doc package, ship only HTML --- python-sphinx.spec | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index d58ea23..ccfdbd3 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -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 useful to many other projects. -This package contains documentation in reST and HTML formats. +This package contains documentation in the HTML format. %prep @@ -294,12 +294,6 @@ do 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,13 +354,14 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib %files doc %license LICENSE -%doc html reST +%doc html %changelog * Mon Aug 15 2022 Karolina Surma - 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 - 1:5.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild