- Force-replace all /usr/bin/env python by python3.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=177
This commit is contained in:
Jan Engelhardt 2024-01-29 17:55:30 +00:00 committed by Git OBS Bridge
parent 60b9dd6bc0
commit c7b2eba2e2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 29 17:25:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Force-replace all /usr/bin/env python by python3.
-------------------------------------------------------------------
Thu Jan 18 07:58:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -131,6 +131,8 @@ pushd third_party/xxhash
%patch2 -p1
popd
rm -Rf third_party/abseil-cpp/
find . -type f -exec grep -l '#!/usr/bin/env py' | \
xargs perl -i -lpe 's{#!/usr/bin/env py\w+}{#!/usr/bin/python3}g'
# protoc is invoked strangely; make it happy with this dir or it will assert()
mkdir -p third_party/protobuf/src