Accepting request 1146618 from home:dimstar:Factory

- Also fixup hasbnag of tools/profiling/ios_bin/parse_link_map.py,
  which was exceptionally not using env python, but directly
  /usr/bin/python.

OBS-URL: https://build.opensuse.org/request/show/1146618
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=186
This commit is contained in:
Jan Engelhardt 2024-02-14 17:01:15 +00:00 committed by Git OBS Bridge
parent 062469de5f
commit 62b153e2a2
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 14 16:15:47 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <jengelh@inai.de>

View File

@ -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;