- 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:
parent
60b9dd6bc0
commit
c7b2eba2e2
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user