!41 Remove gflags

From: @XWwalker 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2022-04-19 07:06:44 +00:00 committed by Gitee
commit 447efe193a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: grpc
Version: 1.41.1
Release: 2
Release: 3
Summary: A modern, open source high performance RPC framework that can run in any environment
License: ASL 2.0
URL: https://www.grpc.io
@ -14,12 +14,12 @@ Patch0007: add-secure-compile-option-in-Makefile.patch
Patch0010: backport-grpc-1.41.1-python-grpcio-use-system-abseil.patch
BuildRequires: gcc-c++ pkgconfig protobuf-devel protobuf-compiler
BuildRequires: openssl-devel c-ares-devel gflags-devel gtest-devel zlib-devel gperftools-devel
BuildRequires: openssl-devel c-ares-devel gtest-devel zlib-devel gperftools-devel
BuildRequires: python3-devel python3-setuptools python3-Cython
BuildRequires: cmake >= 3.13.0
BuildRequires: pkgconfig(re2)
BuildRequires: abseil-cpp-devel
Requires: protobuf-compiler gflags
Requires: protobuf-compiler
%description
gRPC is a modern open source high performance RPC framework that can run in any environment.
@ -69,7 +69,6 @@ cmake ../../ -DgRPC_INSTALL=ON\
-DgRPC_ZLIB_PROVIDER=package \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_GFLAGS_PROVIDER=package \
-DgRPC_INSTALL_LIBDIR=%{buildroot}%{_libdir} \
-DgRPC_INSTALL_BINDIR=%{buildroot}%{_bindir} \
-DgRPC_INSTALL_INCLUDEDIR=%{buildroot}%{_includedir} \
@ -138,6 +137,12 @@ cd ../..
%{python3_sitearch}/grpcio-%{version}-py?.?.egg-info
%changelog
* Sat Apr 16 2022 xingwei<xingwei14@h-partners.com> - 1.41.1-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: remove gflags
* Tue Mar 22 2022 gaihuiying <eaglegai@163.com> - 1.41.1-2
- Type:bugfix
- ID:NA