Remove RIGHT-TO-LEFT OVERRIDE from AUTHORS.txt

This commit is contained in:
Miro Hrončok 2023-05-22 13:34:03 +02:00
parent 384163c9b7
commit f58b7e613e

View File

@ -261,6 +261,10 @@ ln -s %{python_wheel_dir} tests/data/common_wheels
rm -v src/pip/_vendor/distlib/*.exe
sed -i '/\.exe/d' setup.py
# Remove RIGHT-TO-LEFT OVERRIDE from AUTHORS.txt
# https://github.com/pypa/pip/pull/12046
%{python3} -c 'from pathlib import Path; p = Path("AUTHORS.txt"); p.write_text("".join(c for c in p.read_text() if c != "\u202e"))'
%build
%py3_build_wheel