#30 Fix shebangs of the GDB hooks
Merged 6 years ago by cstratak. Opened 6 years ago by churchyard.
rpms/ churchyard/python3 pathfix_gdbhooks  into  master

file modified
+3 -2
@@ -953,8 +953,9 @@ 

  # 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}" \

-   %{buildroot}

+   -i "%{_bindir}/python%{pybasever}" -pn \

+   %{buildroot} \

+   %{?with_gdb_hooks:%{buildroot}$DirHoldingGdbPy/*.py}

  

  # Remove tests for python3-tools which was removed in

  # https://bugzilla.redhat.com/show_bug.cgi?id=1312030

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

Note that I'm intentionally creating this PR in python3 and not python37, because it requires the -n feature of pathfix.py and I don't want to backport that to our 3.7.0b2 package when b3 has the feature and should be released tomorrow.

Pull-Request has been merged by cstratak

6 years ago
Metadata