1 |
|
### RPM external mysql 5.0.18 |
2 |
+ |
## INITENV +PATH LD_LIBRARY_PATH %i/lib/mysql |
3 |
+ |
|
4 |
|
#Different download locations according to the version. |
5 |
|
|
6 |
|
%if "%(echo %v | cut -d. -f1)" == "4" |
24 |
|
./configure --prefix=%i --with-extra-charsets=complex \ |
25 |
|
--enable-thread-safe-client --enable-local-infile |
26 |
|
make %makeprocesses |
27 |
+ |
%post |
28 |
+ |
%{relocateConfig}bin/msql2mysql |
29 |
+ |
%{relocateConfig}bin/mysqlaccess |
30 |
+ |
%{relocateConfig}bin/mysqlbug |
31 |
+ |
%{relocateConfig}bin/mysql_config |
32 |
+ |
%{relocateConfig}bin/mysqld_multi |
33 |
+ |
%{relocateConfig}bin/mysqld_safe |
34 |
+ |
%{relocateConfig}bin/mysql_fix_privilege_tables |
35 |
+ |
%{relocateConfig}bin/mysql_install_db |
36 |
+ |
|
37 |
+ |
|