[packages/python-recommonmark] - remove packaged cache

baggins baggins at pld-linux.org
Sat Mar 15 11:40:34 CET 2025


commit 90e25e64472e89402f6dabc45605851573244789
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 15 11:38:54 2025 +0100

    - remove packaged cache

 python-recommonmark.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-recommonmark.spec b/python-recommonmark.spec
index 2a7a595..9b1af9c 100644
--- a/python-recommonmark.spec
+++ b/python-recommonmark.spec
@@ -89,6 +89,8 @@ Dokumentacja modułu Pythona recommonmark.
 %patch -P 0 -p1
 %patch -P 1 -p1
 
+%{__rm} -r */__pycache__ */*.pyc
+
 %build
 %if %{with python2}
 %py_build
@@ -96,7 +98,7 @@ Dokumentacja modułu Pythona recommonmark.
 %if %{with tests}
 # skip: python2 uses different XML formatting, tests expect python3 formatting
 # sphinx tests are too dependent on Sphinx version
-%{__python} -m pytest tests -k 'not CustomExtensionTests and not test_sphinx'
+%{__python} -m pytest tests -k 'not CustomExtensionTests'
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-recommonmark.git/commitdiff/90e25e64472e89402f6dabc45605851573244789



More information about the pld-cvs-commit mailing list