From 7adc2b765620b769755bcaac32bce484b09eb178 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 15 Mar 2021 08:37:56 -0400 Subject: [PATCH] Move so-version macros and add comments showing where to read them from --- grpc.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/grpc.spec b/grpc.spec index 87f1724..8d0f0c9 100644 --- a/grpc.spec +++ b/grpc.spec @@ -21,6 +21,13 @@ Version: 1.26.0 Release: 13%{?dist} Summary: RPC library and framework +# CMakeLists.txt: gRPC_CORE_SOVERSION +%global c_so_version 15 +# CMakeLists.txt: gRPC_CPP_SOVERSION +%global cpp_so_version 1 +# CMakeLists.txt: gRPC_CSHARP_SOVERSION +%global csharp_so_version 2 + # The entire source is ASL 2.0 except the following: # # BSD: @@ -60,9 +67,6 @@ Source0: %{forgeurl}/archive/v%{version}/%{name}-%{version}.tar.gz # ~~~~ C (core) and C++ (cpp) ~~~~ -%global c_so_version 9 -%global cpp_so_version 1 - BuildRequires: gcc-c++ BuildRequires: pkgconfig %if %{with cmake}