try fix build issue

This commit is contained in:
Mahno 2025-02-17 00:24:32 +08:00
parent 5b252af988
commit 2d990e69fe

View File

@ -216,7 +216,6 @@ 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
@ -281,7 +280,8 @@ Authors:
%doc %{name}/swig/python/examples/*.py
%{python3_sitelib}/_yui.so
%{python3_sitelib}/yui.py
%exclude %dir %{python_sitelib}/yui/__pycache__
%exclude %{python_sitelib}/yui/__pycache__/*.pyc
%files -n perl-yui
%defattr(-,root,root,-)
%doc %{name}/swig/perl/examples/*.pl