diff --git a/community-mysql.spec b/community-mysql.spec index be4a7d1..2891d92 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -442,7 +442,7 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \ -DINSTALL_LAYOUT=RPM \ -DDAEMON_NAME="%{daemon_name}" \ -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \ - -DLOG_LOCATION="%{logfile}" \ + -DLOGFILE_RPM="%{logfile}" \ -DPID_FILE_DIR="%{pidfiledir}" \ -DNICE_PROJECT_NAME="MySQL" \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ diff --git a/server.cnf.in b/server.cnf.in index ba3d479..727ca52 100644 --- a/server.cnf.in +++ b/server.cnf.in @@ -13,6 +13,6 @@ [mysqld] datadir=@MYSQL_DATADIR@ socket=@MYSQL_UNIX_ADDR@ -log-error=@LOG_LOCATION@ +log-error=@LOGFILE_RPM@ pid-file=@PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid