diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-04 17:57:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-04 17:57:46 +0000 |
commit | 033d08577ac59e61b7b842d835d4b111df511d91 (patch) | |
tree | 8815f7ed66b1ea5777cc25a4629af73795e1796b /greatsql.spec | |
parent | 1638000744ff8e2cb8a8e71359326f0d776ba467 (diff) |
automatic import of greatsql
Diffstat (limited to 'greatsql.spec')
-rw-r--r-- | greatsql.spec | 7 |
1 files changed, 7 insertions, 0 deletions
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 \ |