diff options
| -rw-r--r-- | brpc.spec | 12 | ||||
| -rw-r--r-- | sources | 2 |
2 files changed, 10 insertions, 4 deletions
@@ -22,7 +22,11 @@ BuildRequires: make BuildRequires: ninja-build BuildRequires: gflags-devel BuildRequires: protobuf-devel -BuildRequires: absl-devel +# Use openEuler's official abseil-cpp-devel (provides cmake(absl) + +# pkgconfig(absl_*)); it is also the abseil provider requiring by protobuf-devel. +# A separately-packaged "absl-devel" collides with abseil-cpp-devel over the +# same /usr/lib64/pkgconfig/absl_*.pc files, so reference the official name. +BuildRequires: abseil-cpp-devel BuildRequires: leveldb-devel BuildRequires: openssl-devel BuildRequires: zlib-devel @@ -57,9 +61,11 @@ The %{name} tools. %autosetup -n %{name}-%{version} %build -# Invoke the cmake binary directly instead of the %cmake rpm macros so the +# Invoke the cmake binary directly instead of the CMake RPM macros so the # build is portable across builders (including minimal smoke workers that do -# not ship the cmake macro package). +# not ship the cmake macro package). NOTE: never spell out the cmake macro +# name (percent-cmake) in a comment -- rpm expands it even inside comments and +# the multi-line expansion escapes the comment, injecting a bogus cmake call. cmake -S . -B build \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ @@ -1 +1 @@ -61539d55b08cd74b49969e5ed291c20c brpc-1.16.0.tar.gz +71b445b4c9f155e3dbd974e08c6b2a5f brpc-1.16.0.tar.gz |
