Fix shebangs of the GDB hooks
Also, use -p (preserve timestamp) and -n (don't create backup files) with pathfix.py. Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560295
This commit is contained in:
parent
8dd12915a9
commit
3a8efff052
|
@ -888,9 +888,10 @@ sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \
|
|||
# so handle files named using other naming scheme separately.
|
||||
LD_LIBRARY_PATH=./build/optimized ./build/optimized/python \
|
||||
Tools/scripts/pathfix.py \
|
||||
-i "%{_bindir}/python%{pybasever}" \
|
||||
-i "%{_bindir}/python%{pybasever}" -pn \
|
||||
%{buildroot} %{buildroot}%{pylibdir}/Tools/scripts/*-*.py \
|
||||
%{buildroot}%{pylibdir}/Tools/pynche/{pynche,pynche.pyw}
|
||||
%{buildroot}%{pylibdir}/Tools/pynche/{pynche,pynche.pyw} \
|
||||
%{?with_gdb_hooks:%{buildroot}$DirHoldingGdbPy/*.py}
|
||||
# not covered, also redundant and useless:
|
||||
rm %{buildroot}%{pylibdir}/Tools/scripts/{2to3,idle3,pydoc3,pyvenv}
|
||||
|
||||
|
|
Loading…
Reference in New Issue