Use configured prefix value instead of guessing basedir in mysql_config; Resolves: #916189
This commit is contained in:
parent
0cb82945a8
commit
50cf48aea5
15
mariadb-basedir.patch
Normal file
15
mariadb-basedir.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Don't guess basedir in mysql_config; we place it under _libdir because
|
||||||
|
of multilib conflicts, so use rather configured @prefix@ path directly.
|
||||||
|
|
||||||
|
diff -up mariadb-5.5.29/scripts/mysql_config.sh.basedir mariadb-5.5.29/scripts/mysql_config.sh
|
||||||
|
--- mariadb-5.5.29/scripts/mysql_config.sh.basedir 2013-02-28 09:39:26.628440114 +0100
|
||||||
|
+++ mariadb-5.5.29/scripts/mysql_config.sh 2013-02-28 09:39:40.613439729 +0100
|
||||||
|
@@ -76,7 +76,7 @@ get_full_path ()
|
||||||
|
|
||||||
|
me=`get_full_path $0`
|
||||||
|
|
||||||
|
-basedir=`echo $me | sed -e 's;/bin/mysql_config;;'`
|
||||||
|
+basedir='@prefix@'
|
||||||
|
|
||||||
|
ldata='@localstatedir@'
|
||||||
|
execdir='@libexecdir@'
|
@ -1,6 +1,6 @@
|
|||||||
Name: mariadb
|
Name: mariadb
|
||||||
Version: 5.5.29
|
Version: 5.5.29
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
Summary: A community developed branch of MySQL
|
Summary: A community developed branch of MySQL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
@ -54,6 +54,7 @@ Patch12: mariadb-dh1024.patch
|
|||||||
Patch13: mariadb-man-plugin.patch
|
Patch13: mariadb-man-plugin.patch
|
||||||
Patch14: mariadb-buffer.patch
|
Patch14: mariadb-buffer.patch
|
||||||
Patch15: mariadb-sortbuffer.patch
|
Patch15: mariadb-sortbuffer.patch
|
||||||
|
Patch16: mariadb-basedir.patch
|
||||||
|
|
||||||
BuildRequires: perl, readline-devel, openssl-devel
|
BuildRequires: perl, readline-devel, openssl-devel
|
||||||
BuildRequires: cmake, ncurses-devel, zlib-devel, libaio-devel
|
BuildRequires: cmake, ncurses-devel, zlib-devel, libaio-devel
|
||||||
@ -289,6 +290,7 @@ MariaDB is a community developed branch of MySQL.
|
|||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
|
%patch16 -p1
|
||||||
|
|
||||||
# workaround for upstream bug #56342
|
# workaround for upstream bug #56342
|
||||||
rm -f mysql-test/t/ssl_8k_key-master.opt
|
rm -f mysql-test/t/ssl_8k_key-master.opt
|
||||||
@ -787,6 +789,11 @@ fi
|
|||||||
%{_mandir}/man1/mysql_client_test.1*
|
%{_mandir}/man1/mysql_client_test.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 28 2013 Honza Horak <hhorak@redhat.com> 5.5.29-7
|
||||||
|
- Use configured prefix value instead of guessing basedir
|
||||||
|
in mysql_config
|
||||||
|
Resolves: #916189
|
||||||
|
|
||||||
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
|
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
|
||||||
- Fix sort_buffer_length option type
|
- Fix sort_buffer_length option type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user