- Set proper MySQL socket path for localhost connections

OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=2
This commit is contained in:
Adam Majer 2017-03-29 11:08:33 +00:00 committed by Git OBS Bridge
parent 2dff8787ff
commit 38f6b89c99
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 29 11:04:35 UTC 2017 - adam.majer@suse.de
- Set proper MySQL socket path for localhost connections
-------------------------------------------------------------------
Thu Mar 23 10:56:02 UTC 2017 - adam.majer@suse.de

View File

@ -19,6 +19,10 @@
%define sover 2
%define libname libmariadb
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name: mariadb-connector-c
Version: 2.3.2
Release: 0
@ -100,7 +104,8 @@ This package holds the development files.
-DWITH_SQLITE:BOOL=ON \
%endif
-DWITH_EXTERNAL_ZLIB:BOOL=ON \
-DPLUGIN_INSTALL_DIR:STRING=%{_libdir}/mariadb/plugin/
-DPLUGIN_INSTALL_DIR:STRING=%{_libdir}/mariadb/plugin/ \
-DMYSQL_UNIX_ADDR:STRING=%{_rundir}/mysql/mysql.sock
make %{?_smp_mflags}
%install