From 033d08577ac59e61b7b842d835d4b111df511d91 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 4 Aug 2023 17:57:46 +0000 Subject: automatic import of greatsql --- greatsql.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/greatsql.spec b/greatsql.spec index b68792c..b696d80 100644 --- a/greatsql.spec +++ b/greatsql.spec @@ -121,6 +121,13 @@ This package contains the GreatSQL regression test suite. %undefine __cmake_in_source_build %endif +%if "%{_vendor}" == "openEuler" +%define __cmake_builddir build +%define __cmake /usr/bin/cmake -S . -B __cmake_builddir +%define cmake_build /usr/bin/cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose +%define cmake_install DESTDIR="%{buildroot}" /usr/bin/cmake --install "%{__cmake_builddir}" +%endif + %cmake \ -DWITH_BOOST=%{SOURCE1} \ -DINSTALL_LAYOUT=RPM \ -- cgit v1.2.3