Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package grpc for openSUSE:Factory checked in 
at 2024-01-31 23:53:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grpc (Old)
 and      /work/SRC/openSUSE:Factory/.grpc.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grpc"

Wed Jan 31 23:53:20 2024 rev:72 rq:1142787 version:1.60.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/grpc/grpc.changes        2024-01-25 
18:40:27.761067467 +0100
+++ /work/SRC/openSUSE:Factory/.grpc.new.1815/grpc.changes      2024-01-31 
23:53:29.080414628 +0100
@@ -1,0 +2,5 @@
+Mon Jan 29 17:25:06 UTC 2024 - Jan Engelhardt <[email protected]>
+
+- Force-replace all /usr/bin/env python by python3.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ grpc.spec ++++++
--- /var/tmp/diff_new_pack.DaGIO9/_old  2024-01-31 23:53:29.836441904 +0100
+++ /var/tmp/diff_new_pack.DaGIO9/_new  2024-01-31 23:53:29.836441904 +0100
@@ -126,18 +126,27 @@
 
 %prep
 %autosetup -N
+find "." -type f -exec grep -l '/usr/bin/env ' {} + |
+       xargs -r perl -i -lpe \
+       's{#! ?/usr/bin/env python\S*}{#!/usr/bin/python3}g;
+        s{#! ?/usr/bin/env sh}{#!/bin/sh}g;
+        s{#! ?/usr/bin/env bash}{#!/bin/bash}g;
+        s{#! ?/usr/bin/env }{#!/usr/bin/}g;'
 pushd third_party/xxhash
 %patch1 -p1
 %patch2 -p1
 popd
 rm -Rf third_party/abseil-cpp/
 
+%build
 # protoc is invoked strangely; make it happy with this dir or it will assert()
 mkdir -p third_party/protobuf/src
 
 cp -a /usr/src/opencensus-proto third_party/
 export CFLAGS="%optflags -Wno-error"
 export CXXFLAGS="$CFLAGS"
+find "." -type f -exec grep '/usr/bin/env ' {} + || :
+pushd .
 %cmake -DgRPC_INSTALL=ON                  \
        -DgRPC_INSTALL_LIBDIR:PATH="%_lib" \
        -DgRPC_INSTALL_CMAKEDIR:PATH="%_libdir/cmake/grpc" \
@@ -150,6 +159,8 @@
        -DgRPC_ZLIB_PROVIDER=package \
        -DCMAKE_CXX_STANDARD=17
 %cmake_build
+popd
+find "." -type f -exec grep '/usr/bin/env ' {} + || :
 
 %install
 b="%buildroot"

Reply via email to