ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/mysql.spec
(Generate patch)

Comparing COMP/CMSDIST/mysql.spec (file contents):
Revision 1.24 by valya, Fri Jun 5 17:10:45 2009 UTC vs.
Revision 1.27 by valya, Wed Sep 2 21:30:52 2009 UTC

# Line 1 | Line 1
1   ### RPM external mysql 5.1.35
2   ## INITENV +PATH LD_LIBRARY_PATH %i/lib/mysql
3 + ## INITENV SET MYSQL_HOME $MYSQL_ROOT
4  
5   #Different download locations according to the version.
6  
# Line 25 | Line 26 | perl -p -i -e 's/-traditional-cpp/-no-cp
26   %build
27   CFLAGS=-O3 CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
28     ./configure --prefix=%i --with-extra-charsets=complex \
29 <      --enable-thread-safe-client --enable-local-infile
29 >      --enable-thread-safe-client --enable-local-infile \
30 >      --with-plugins=innobase
31   make %makeprocesses
32  
33   %install
# Line 49 | Line 51 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
51   </Tool>
52   EOF_TOOLFILE
53  
54 < %post
53 < %{relocateConfig}bin/msql2mysql
54 < %{relocateConfig}bin/mysqlaccess
55 < %{relocateConfig}bin/mysqlbug
56 < %{relocateConfig}bin/mysql_config
57 < %{relocateConfig}bin/mysqld_multi
58 < %{relocateConfig}bin/mysqld_safe
59 < %{relocateConfig}bin/mysql_fix_privilege_tables
60 < %{relocateConfig}bin/mysql_install_db
61 < %{relocateConfig}etc/scram.d/%n
62 <
63 < # setup approripate links and made post install procedure
64 < . $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.sh
65 < cat > $MYSQL_ROOT/etc/my.cnf << EOF
54 > cat << \EOF > %i/etc/my.cnf
55   [mysqld]
56   max_allowed_packet=128M
57  
# Line 80 | Line 69 | query_cache_type=1
69   query_cache_limit=10M
70   query_cache_size=128M
71  
83 # inodb
72   innodb_thread_concurrency=0
73   innodb_concurrency_tickets=10000
74   innodb_commit_concurrency=0
# Line 89 | Line 77 | innodb_flush_method=O_DIRECT
77   innodb_file_io_threads = 4
78   innodb_checksums=0
79   innodb_doublewrite=0
80 <
80 > innodb_data_file_path = ibdata1:2047M;ibdata2:2000M:autoextend
81  
82   max_heap_table_size=1024M
83   tmp_table_size=1024M
# Line 107 | Line 95 | STRICT_TRANS_TABLES=1
95   transaction-isolation = READ-COMMITTED
96   EOF
97  
98 +
99 + %post
100 + %{relocateConfig}bin/msql2mysql
101 + %{relocateConfig}bin/mysqlaccess
102 + %{relocateConfig}bin/mysqlbug
103 + %{relocateConfig}bin/mysql_config
104 + %{relocateConfig}bin/mysqld_multi
105 + %{relocateConfig}bin/mysqld_safe
106 + %{relocateConfig}bin/mysql_fix_privilege_tables
107 + %{relocateConfig}bin/mysql_install_db
108 + %{relocateConfig}etc/scram.d/%n
109 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines