Since this change, all (subsequent) CMake commands (after "%cmake") MUST be used with the builddir argument ( "-B %{__cmake_builddir}" ).