try fix build issue

This commit is contained in:
Mahno 2025-02-16 23:59:30 +08:00
parent a5c1e20173
commit 5b252af988

View File

@ -216,9 +216,9 @@ popd
%install
pushd %{name}
cd build
find $RPM_BUILD_ROOT/%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
make install DESTDIR=$RPM_BUILD_ROOT
popd
find $RPM_BUILD_ROOT/%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} +
%clean
%{__rm} -rf %{buildroot}