diff --git a/grpc.changes b/grpc.changes index 40acf25..acaa62e 100644 --- a/grpc.changes +++ b/grpc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 14 16:15:47 UTC 2024 - Dominique Leuenberger + +- Also fixup hasbnag of tools/profiling/ios_bin/parse_link_map.py, + which was exceptionally not using env python, but directly + /usr/bin/python. + ------------------------------------------------------------------- Tue Feb 13 10:18:50 UTC 2024 - Jan Engelhardt diff --git a/grpc.spec b/grpc.spec index 313d6c5..7572e1b 100644 --- a/grpc.spec +++ b/grpc.spec @@ -124,6 +124,9 @@ This subpackage contains source code of the gRPC reference implementation. %prep %autosetup -N %patch -P 1 -p1 +find "." -type f -exec grep -l '/usr/bin/python' {} + | + xargs -r perl -i -lpe \ + 's{#! ?/usr/bin/python\S*}{#!/usr/bin/python3}g;' find "." -type f -exec grep -l '/usr/bin/env ' {} + | xargs -r perl -i -lpe \ 's{#! ?/usr/bin/env python\S*}{#!/usr/bin/python3}g;