From 96da2804a5ef1cea9b26dd347725332ccbda1f32 Mon Sep 17 00:00:00 2001 From: zhangchunjing Date: Tue, 16 Sep 2025 00:18:35 +0800 Subject: [PATCH] fix build error for sw_64 --- grpc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/grpc.spec b/grpc.spec index f2bb3a0..40c70e3 100644 --- a/grpc.spec +++ b/grpc.spec @@ -3,7 +3,7 @@ Name: grpc Version: 1.41.1 -Release: 8 +Release: 9 Summary: A modern, open source high performance RPC framework that can run in any environment License: ASL 2.0 URL: https://www.grpc.io @@ -113,6 +113,7 @@ cd ../.. %license LICENSE %{_datadir}/%{name} +%ifnarch sw_64 %{_libdir}/libaddress_sorting.so.%{c_so_version}* %{_libdir}/libgpr.so.%{c_so_version}* %{_libdir}/libgrpc.so.%{c_so_version}* @@ -125,14 +126,17 @@ cd ../.. %{_libdir}/libgrpc++_unsecure.so.%{cpp_so_version}* %{_libdir}/libgrpc_plugin_support.so.%{cpp_so_version}* %{_libdir}/libgrpcpp_channelz.so.%{cpp_so_version}* +%endif %files plugins %{_bindir}/grpc_*_plugin %files devel %defattr(-,root,root) +%ifnarch sw_64 %{_libdir}/*.so %{_libdir}/pkgconfig/* +%endif %{_includedir}/grpc %{_includedir}/grpc++ %{_includedir}/grpcpp @@ -143,6 +147,9 @@ cd ../.. %{python3_sitearch}/grpcio-%{version}-py?.?.egg-info %changelog +* Fri Sep 12 2025 zhang_chunjing - 1.41.1-9 +- fix build error for sw_64 + * Fri Jun 21 2024 zhouyihang - 1.41.1-8 - Type:bugfix - ID:NA -- Gitee