Mimic CPython, %exclude ensurepip/_bundled when built with RPM wheels

This commit is contained in:
Miro Hrončok 2022-02-22 11:55:45 +01:00
parent 7926d81ad4
commit d3586d269a
1 changed files with 3 additions and 0 deletions

View File

@ -737,6 +737,9 @@ CheckPyPy pypy%{pyversion}-c
%license %{pypylibdir}/cffi/_pycparser/ply/LICENSE
%license %{pypylibdir}/hpy.dist-info/LICENSE
%{pypylibdir}/
%if %{with rpmwheels}
%exclude %{pypylibdir}/ensurepip/_bundled
%endif
%if "%{_lib}" == "lib64"
%{_prefix}/lib/pypy%{pyversion}/
%endif