Use --hardlink-dupes for Python 3.4+ as well
This commit is contained in:
parent
37bf640f37
commit
dd8caa5aa3
3 changed files with 34 additions and 38 deletions
|
|
@ -28,7 +28,7 @@ py2_byte_compile () {\
|
|||
py3_byte_compile () {\
|
||||
python_binary="env PYTHONHASHSEED=0 %1"\
|
||||
bytecode_compilation_path="%2"\
|
||||
PYTHONPATH="%{_rpmconfigdir}/redhat" $python_binary -s -B -m compileall2 -o 0 -o 1 -s $RPM_BUILD_ROOT -p / $bytecode_compilation_path \
|
||||
PYTHONPATH="%{_rpmconfigdir}/redhat" $python_binary -s -B -m compileall2 -o 0 -o 1 -s $RPM_BUILD_ROOT -p / --hardlink-dupes $bytecode_compilation_path \
|
||||
}\
|
||||
\
|
||||
py39_byte_compile () {\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue