try fix build issue

This commit is contained in:
Mahno 2025-02-16 23:38:18 +08:00
parent 9b66d39465
commit 43428d8df4

View File

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