Move so-version macros and add comments showing where to read them from

This commit is contained in:
Benjamin A. Beasley 2021-03-15 08:37:56 -04:00
parent 222943799f
commit 7adc2b7656
1 changed files with 7 additions and 3 deletions

View File

@ -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}