diff --git a/mariadb.spec b/mariadb.spec index d3be165f351047dfbc1f687c2c2d13a3e5549347..c55b7211eae8dafa64792b76adba8597939cd4d3 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -74,7 +74,7 @@ Name: mariadb Version: 10.5.25 -Release: 2 +Release: 3 Epoch: 4 Summary: A very fast and robust SQL database server @@ -690,7 +690,7 @@ fi # The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX # so we can't use %%{_datadir} and so forth here. -%cmake . \ +%cmake \ -DBUILD_CONFIG=mysql_release \ -DFEATURE_SET="community" \ -DINSTALL_LAYOUT=RPM \ @@ -770,8 +770,8 @@ CXXFLAGS="$CFLAGS" CPPFLAGS="$CFLAGS" export CFLAGS CXXFLAGS CPPFLAGS -cmake -B . -LAH -cmake --build . %{?_smp_mflags} --verbose +%cmake -LAH +%cmake_build # build selinux policy %if %{with galera} @@ -782,7 +782,7 @@ make -f /usr/share/selinux/devel/Makefile %{name}-server-galera.pp %install -DESTDIR="%{buildroot}" cmake --install "." +%cmake_install # multilib header support #1625157 for header in mysql/server/my_config.h mysql/server/private/config.h; do @@ -1477,6 +1477,9 @@ fi %endif %changelog +* Tue Nov 05 2024 Funda Wang - 4:10.5.25-3 +- adopt to new cmake macro + * Sun Aug 18 2024 binshuo - 4:10.5.25-2 - RISC-V: fix 'rdcycle' SIGILL