try fix build issue
This commit is contained in:
parent
5b252af988
commit
2d990e69fe
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user