try fix build issue

This commit is contained in:
Mahno 2025-02-16 22:09:58 +08:00
parent 0c3d4ffd87
commit 905541039c

View File

@ -211,7 +211,8 @@ cmake -DYPREFIX=%{prefix} \
..
make %{?jobs:-j %jobs}
popd
find %{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
find %{RPM_BUILD_ROOT}%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
%install
pushd %{name}