ソースを参照

provide options for charset and collation

Christoph Schug 19 年 前
コミット
cc5e3756a6
3 ファイル変更15 行追加3 行削除
  1. 5 1
      mysql/mysql.spec
  2. 5 1
      mysql4/mysql4.spec
  3. 5 1
      mysql51/mysql51.spec

+ 5 - 1
mysql/mysql.spec

@@ -39,7 +39,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      %{V_opkg}
-Release:      20061029
+Release:      20061111
 
 #   package options
 %option       with_server      yes
@@ -51,6 +51,8 @@ Release:      20061029
 %option       with_ndbcluster  no
 %option       with_ssl         no
 %option       with_embedded    no
+%option       with_charset     utf8
+%option       with_collation   utf8_unicode_ci
 
 #   list of sources
 Source0:      http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-%{V_major}/mysql-%{V_mysql}.tar.gz
@@ -166,6 +168,8 @@ AutoReqProv:  no
 %if "%{with_embedded}" == "yes"
         --with-embedded-server \
 %endif
+        --with-charset=%{with_charset} \
+        --with-collation=%{with_collation} \
         --without-readline \
         --without-libedit \
         --with-big-tables \

+ 5 - 1
mysql4/mysql4.spec

@@ -39,7 +39,7 @@ Class:        EVAL
 Group:        Database
 License:      GPL
 Version:      %{V_opkg}
-Release:      20061026
+Release:      20061111
 
 #   package options
 %option       with_server    yes
@@ -48,6 +48,8 @@ Release:      20061026
 %option       with_ssl       no
 %option       with_ndb       no
 %option       with_embedded  no
+%option       with_charset   utf8
+%option       with_collation utf8_unicode_ci
 
 #   list of sources
 Source0:      http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-%{V_major}/mysql-%{V_mysql}.tar.gz
@@ -135,6 +137,8 @@ Provides:     mysql = %{version}-%{release}
 %if "%{with_embedded}" == "yes"
         --with-embedded-server \
 %endif
+        --with-charset=%{with_charset} \
+        --with-collation=%{with_collation} \
         --without-readline \
         --without-libedit \
         --with-vio \

+ 5 - 1
mysql51/mysql51.spec

@@ -39,7 +39,7 @@ Class:        EVAL
 Group:        Database
 License:      GPL
 Version:      %{V_opkg}
-Release:      20061103
+Release:      20061111
 
 #   package options
 %option       with_server      yes
@@ -51,6 +51,8 @@ Release:      20061103
 %option       with_partition   no
 %option       with_ssl         no
 %option       with_embedded    no
+%option       with_charset     utf8
+%option       with_collation   utf8_unicode_ci
 
 #   fixing implicit inter-plugin dependencies and correlations
 %if "%{with_ndbcluster}" == "yes"
@@ -175,6 +177,8 @@ Provides:     mysql = %{version}-%{release}
 %if "%{with_embedded}" == "yes"
         --with-embedded-server \
 %endif
+        --with-charset=%{with_charset} \
+        --with-collation=%{with_collation} \
         --without-readline \
         --without-libedit \
         --with-big-tables \