From 2aeb619628ae45deb5362cb83c9bcdc7d9210722b3c60a825a8330c005d8eb10 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 1 Oct 2024 23:40:43 +0000 Subject: [PATCH] Fix the command OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=73 --- python312.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python312.spec b/python312.spec index 4f52c97..6bf7cf5 100644 --- a/python312.spec +++ b/python312.spec @@ -797,7 +797,7 @@ LD_LIBRARY_PATH=. ./python -O -c "from py_compile import compile; compile('$FAIL echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-import-failed-hooks.pth %endif -find %{buildroot}%{_docdir} -type f -name \*.pyc -ls -exec rm -vf '{}' \; +find %{buildroot}%{_datadir}/doc -type f -name \*.pyc -ls -exec rm -vf '{}' \; %if %{with general} %files -n %{python_pkg_name}-tk