diff --git a/grpc.changes b/grpc.changes index e251eff..8298f81 100644 --- a/grpc.changes +++ b/grpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 29 17:25:06 UTC 2024 - Jan Engelhardt + +- Force-replace all /usr/bin/env python by python3. + ------------------------------------------------------------------- Thu Jan 18 07:58:43 UTC 2024 - John Paul Adrian Glaubitz diff --git a/grpc.spec b/grpc.spec index 62c4161..66cf4a5 100644 --- a/grpc.spec +++ b/grpc.spec @@ -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