summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-21 12:14:51 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-21 12:14:51 +0000
commitb3338d2a9928f1cc64ac4f0406e077687350095c (patch)
treeff1fdcbf93ecf9a5eeb670d7fb651f2363b72489
parent9ff1facf6b4d2e0ce7e5e8d0673d037abda1dbd0 (diff)
automatic import of libwebsocketpp-dev
-rw-r--r--libwebsocketpp-dev.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/libwebsocketpp-dev.spec b/libwebsocketpp-dev.spec
index 5caedd8..889b585 100644
--- a/libwebsocketpp-dev.spec
+++ b/libwebsocketpp-dev.spec
@@ -51,13 +51,22 @@ websocketpp::websocketpp) needed to build applications against WebSocket++.
%build
# Boost / OpenSSL / zlib are only probed by upstream when tests or examples are
# enabled; both are disabled so the shipped artifacts have no such linkage.
+#
+# NOTE (openEuler 24.03 LTS SP3 build fix, build 112495): the openEuler %cmake
+# macro configures IN SOURCE (no -B/-S), so the out-of-source build directory
+# %{_vpath_builddir} (= %{_target_platform}, e.g. noarch-openEuler-linux-gnu)
+# never exists and %cmake_build aborts with
+# Error: .../noarch-openEuler-linux-gnu is not a directory
+# Likewise %cmake_install would target that missing directory. Hence drive the
+# already-configured in-source tree with the plain make macros; this is the same
+# pattern used by the other header-only cpp packages built in this chroot.
%cmake \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=OFF
-%cmake_build
+%make_build
%install
-%cmake_install
+%make_install
%files
%license COPYING