From e7aff8bb2ba21d8df0bb9d4bc5a4bfed53c561b6 Mon Sep 17 00:00:00 2001 From: lanruo Date: Fri, 18 Aug 2023 14:35:54 +0800 Subject: [PATCH 1/2] fix sw_64 build error for hive --- grpc.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/grpc.spec b/grpc.spec index cf2bee1..ea65e79 100644 --- a/grpc.spec +++ b/grpc.spec @@ -3,7 +3,7 @@ Name: grpc Version: 1.41.1 -Release: 4 +Release: 5 Summary: A modern, open source high performance RPC framework that can run in any environment License: ASL 2.0 URL: https://www.grpc.io @@ -41,7 +41,7 @@ Summary: Protocol buffers compiler plugins for gRPC # License: same as base package Requires: grpc = %{version}-%{release} Requires: protobuf-compiler - + %description plugins Plugins to the protocol buffers compiler to generate gRPC sources. @@ -54,7 +54,7 @@ Requires: %{name} = %{version}-%{release} Python3 bindings for gRPC. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} sed -i 's:^prefix ?= .*:prefix ?= %{_prefix}:' Makefile sed -i 's:$(prefix)/lib:$(prefix)/%{_lib}:' Makefile sed -i 's:^GTEST_LIB =.*::' Makefile @@ -94,7 +94,7 @@ cd ../.. %install cd cmake/build make install/local -rm -rf %{buildroot}%{_prefix}/lib +rm -rf %{buildroot}%{_prefix}/lib/cmake %delete_la_and_a cd ../.. @@ -138,6 +138,9 @@ cd ../.. %{python3_sitearch}/grpcio-%{version}-py?.?.egg-info %changelog +* Fri May 19 2023 panchenbo - 1.41.1-5 +- fix sw_64 build error for hive + * Thu Oct 20 2022 zhouyihang - 1.41.1-4 - Type:bugfix - ID:NA @@ -208,7 +211,7 @@ cd ../.. - DESC:update to 1.28.1 * Fri Mar 20 2020 songnannan - 1.22.0-3 -- add gdb in buildrequires +- add gdb in buildrequires * Sat Jan 11 2020 openEuler Buildteam - 1.22.0-2 - Delete unused patch -- Gitee From 3c927b78dfc4a170b9c80853de620497f3ec22b4 Mon Sep 17 00:00:00 2001 From: lanruo Date: Wed, 23 Aug 2023 15:17:48 +0800 Subject: [PATCH 2/2] fix sw_64 build error for hive. --- grpc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/grpc.spec b/grpc.spec index ea65e79..970b532 100644 --- a/grpc.spec +++ b/grpc.spec @@ -139,7 +139,10 @@ cd ../.. %changelog * Fri May 19 2023 panchenbo - 1.41.1-5 -- fix sw_64 build error for hive +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix sw_64 build error for hive * Thu Oct 20 2022 zhouyihang - 1.41.1-4 - Type:bugfix -- Gitee