diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-06 09:32:13 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-06 09:32:13 +0100 |
commit | 3bfd88d1d65d4f2fa13f84260fba22347538cdc0 (patch) | |
tree | a05cd0e711f6ccb528490be82a8ae8b38de756d2 /cmake | |
parent | 62b9be65422fc498356e122a7b9ca08f2ada9d0b (diff) | |
download | mariadb-git-3bfd88d1d65d4f2fa13f84260fba22347538cdc0.tar.gz |
MDEV-4068 rpm scriptlet chown command dangerous
add --mysqld option to my_print_defaults
change server-postin script to use that
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/cpack_rpm.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake index 0931af5e09b..246f9a54d15 100644 --- a/cmake/cpack_rpm.cmake +++ b/cmake/cpack_rpm.cmake @@ -49,6 +49,7 @@ MariaDB bug reports should be submitted through https://mariadb.atlassian.net/ SET(CPACK_RPM_SPEC_MORE_DEFINE " %define mysql_vendor ${CPACK_PACKAGE_VENDOR} %define mysqlversion ${MYSQL_NO_DASH_VERSION} +%define mysqlbasedir ${CMAKE_INSTALL_PREFIX} %define mysqldatadir ${INSTALL_MYSQLDATADIR} %define mysqld_user mysql %define mysqld_group mysql |