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} make %{?jobs:-j %jobs}
popd popd
find %{RPM_BUILD_ROOT}%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
%install %install
@ -219,6 +218,7 @@ pushd %{name}
cd build cd build
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
popd popd
find %RPM_BUILD_ROOT%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}