Remove bundled dist-info/egg-info directories
This commit is contained in:
parent
f6f4907311
commit
5255af1235
@ -90,6 +90,11 @@ rm -rf doc/_build/html/.buildinfo
|
|||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
# Remove bundled dist/egg-info directories, they shouldn't be shipped for
|
||||||
|
# bundled modules and in some cases they could confuse automatic generators
|
||||||
|
# that read the dist/egg-info data.
|
||||||
|
rm -rf %{buildroot}%{python3_sitelib}/py/_vendored_packages/*.{dist,egg}-info
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
|
Loading…
Reference in New Issue
Block a user