From 62e73f9065c9032540449553f152867ca4bdf3e6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Oct 2026 05:54:15 +0000 Subject: automatic import of elite-cs-series-sdk --- elite-cs-series-sdk.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/elite-cs-series-sdk.spec b/elite-cs-series-sdk.spec index 1946132..701903d 100644 --- a/elite-cs-series-sdk.spec +++ b/elite-cs-series-sdk.spec @@ -61,10 +61,16 @@ done -DELITE_COMPILE_TESTS=OFF \ -DELITE_COMPILE_DOC=OFF \ -DELITE_COMPILE_EXAMPLES=OFF -%cmake_build +# The %cmake macro in this openEuler chroot performs an in-source build +# (build files written to the source dir, not a separate %_target_platform +# build dir). %cmake_build expects an out-of-tree dir named %_target_platform +# which was never created, so it fails with "is not a directory". Use make +# directly to build in-place where CMake generated the Makefiles. +make %{?_smp_mflags} %install -%cmake_install +# Install from the in-source Makefiles (same reason as %build above). +DESTDIR=%{buildroot} make install %files %license LICENSE -- cgit v1.2.3