try fix build issue

This commit is contained in:
Mahno 2025-02-16 22:30:45 +08:00
parent 905541039c
commit 9fcbe219ce

View File

@ -211,7 +211,6 @@ cmake -DYPREFIX=%{prefix} \
..
make %{?jobs:-j %jobs}
popd
find %{RPM_BUILD_ROOT}%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
%install
@ -219,6 +218,7 @@ pushd %{name}
cd build
make install DESTDIR=$RPM_BUILD_ROOT
popd
find %RPM_BUILD_ROOT%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
%clean
%{__rm} -rf %{buildroot}