Explain how the removed sources list was created

This commit is contained in:
Miro Hrončok 2022-02-22 12:03:31 +01:00
parent 1b34489b24
commit f97fb4af29
1 changed files with 2 additions and 0 deletions

View File

@ -472,6 +472,8 @@ rm %{packaged_prefix}/include/README
# 7. copy the main LICENSE file to pypy's libdir, as does CPython
cp -a LICENSE %{packaged_prefix}/%{_lib}/pypy%{pyversion}
# 8. remove sources, we don't install them
# this list was created by inspecting rpmlint output before it was added
# sources that look like they might be tests are kept and included in the test subpackage
rm -r %{packaged_prefix}/%{_lib}/pypy%{pyversion}/_blake2/impl
rm -r %{packaged_prefix}/%{_lib}/pypy%{pyversion}/_libmpdec
rm -r %{packaged_prefix}/%{_lib}/pypy%{pyversion}/_sha3/kcp