[mariadb-galera] Use %%cmake macro

Honza Horak hhorak at fedoraproject.org
Mon Sep 8 10:47:21 UTC 2014


commit 44894d909600c07ad3383c37b3354639a0ebe530
Author: Honza Horak <hhorak at redhat.com>
Date:   Mon Sep 8 12:45:02 2014 +0200

    Use %%cmake macro

 mariadb-galera.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mariadb-galera.spec b/mariadb-galera.spec
index 27cc40d..d0ebedb 100644
--- a/mariadb-galera.spec
+++ b/mariadb-galera.spec
@@ -566,7 +566,8 @@ export LDFLAGS
 
 # The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
 # so we can't use %%{_datadir} and so forth here.
-cmake .  -DBUILD_CONFIG=mysql_release \
+%cmake . \
+         -DBUILD_CONFIG=mysql_release \
          -DFEATURE_SET="community" \
          -DINSTALL_LAYOUT=RPM \
          -DDAEMON_NAME="%{daemon_name}" \
@@ -1190,6 +1191,7 @@ fi
   Server requires any mysql package, so it should be fine with older client
 - Use configured value instead of hardcoded path in mysql_install_db script
   Related: #1134328
+- Use %%cmake macro
 
 * Wed Sep 03 2014 Honza Horak <hhorak at redhat.com> - 1:10.0.12-7
 - Disable failing tests: innodb_simulate_comp_failures_small, key_cache


More information about the scm-commits mailing list