From 62050a33898979a552792f9f551baa1e0cee88d3 Mon Sep 17 00:00:00 2001 From: Tomi Lähteenmäki Date: Feb 06 2026 18:22:58 +0000 Subject: Use %cmake in %conf in example SPEC file Same as in PR #1484; same applies to CMake as for the meson: https://bugzilla.redhat.com/show_bug.cgi?id=2387625#c11 --- diff --git a/guidelines/modules/ROOT/pages/CMake.adoc b/guidelines/modules/ROOT/pages/CMake.adoc index a1da833..8bbacb6 100644 --- a/guidelines/modules/ROOT/pages/CMake.adoc +++ b/guidelines/modules/ROOT/pages/CMake.adoc @@ -74,8 +74,10 @@ It may be removed in the future. [source, rpm-spec] ---- -%build +%conf %cmake + +%build %cmake_build %install @@ -85,6 +87,8 @@ It may be removed in the future. %ctest ---- +*NOTE:* If building for < EPEL 10 then `%cmake` should be in `%build`. + == Notes `+-DCMAKE_SKIP_RPATH:BOOL=ON+`.