From 20e111c7d9f9a8391d182431a2893497a6a5c18c Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Tue, 14 Apr 2020 16:16:09 +0200 Subject: [PATCH] Remove doctree pickles This commit removes hidden doctree folder which serves as a cache for Sphinx when documentation is build. It's useless for user and creates rpmlint warning hidden-file-or-dir. --- python-pip.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pip.spec b/python-pip.spec index 1a3ba50..dd38654 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -346,7 +346,7 @@ export PYTHONPATH=./src/ # from tox.ini sphinx-build-3 -b html docs/html docs/build/html sphinx-build-3 -b man docs/man docs/build/man -c docs/html -rm docs/build/html/.buildinfo +rm -rf docs/build/html/{.doctrees,.buildinfo} %endif