diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-09 05:54:15 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-09 05:54:15 +0000 |
| commit | 62e73f9065c9032540449553f152867ca4bdf3e6 (patch) | |
| tree | 6e4e60cb1608c8527246a1f4e1a04af24a7dbdd3 | |
| parent | 729cf2a77cca88c2888875ae0a5ccc6bed44c4be (diff) | |
automatic import of elite-cs-series-sdk
| -rw-r--r-- | elite-cs-series-sdk.spec | 10 |
1 files 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 |
