From f496ebb67a84b56725aa8fbc16537ec558bc5b3c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 27 Nov 2026 03:32:28 +0000 Subject: automatic import of brpc --- brpc.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'brpc.spec') diff --git a/brpc.spec b/brpc.spec index 1b46568..bd28da7 100644 --- a/brpc.spec +++ b/brpc.spec @@ -61,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} \ -- cgit v1.2.3