From af31b22f275e45b10b5544463adb08b10dc2b68c Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 9 Aug 2024 09:04:54 +0300 Subject: [PATCH] Add BuildRequires for openssl-devel-engine Solves missing header during the compile. Signed-off-by: David Abdurachmanov --- grpc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/grpc.spec b/grpc.spec index 6e2a0c0..e4bead8 100644 --- a/grpc.spec +++ b/grpc.spec @@ -117,7 +117,7 @@ Name: grpc Version: 1.48.4 -Release: %autorelease -e 0.riscv64 +Release: %autorelease -e 1.riscv64 Summary: RPC library and framework %global srcversion %(echo '%{version}' | sed -r 's/~rc/-pre/') @@ -214,6 +214,9 @@ BuildRequires: pkgconfig(protobuf) BuildRequires: protobuf-compiler BuildRequires: pkgconfig(re2) BuildRequires: pkgconfig(openssl) +%if 0%{?fedora} >= 41 +BuildRequires: openssl-devel-engine +%endif BuildRequires: cmake(c-ares) BuildRequires: abseil-cpp-devel # Sets XXH_INCLUDE_ALL, which means xxhash is used as a header-only library