null+****@clear*****
null+****@clear*****
2012年 5月 21日 (月) 22:41:01 JST
Kouhei Sutou 2012-05-21 22:41:01 +0900 (Mon, 21 May 2012) New Revision: 40c3c2d14fe4fd428a55523d8103ec3643cb7a54 Log: rpm centos: make mysql_* variables customizable Modified files: packages/rpm/centos/mysql-mroonga.spec.in Modified: packages/rpm/centos/mysql-mroonga.spec.in (+14 -8) =================================================================== --- packages/rpm/centos/mysql-mroonga.spec.in 2012-05-21 10:11:15 +0900 (b6949ad) +++ packages/rpm/centos/mysql-mroonga.spec.in 2012-05-21 22:41:01 +0900 (02d439d) @@ -1,17 +1,22 @@ %{!?use_system_mysql:%define use_system_mysql 0} %if %{use_system_mysql} -%define mysql_version 5.1.61 -%define mysql_release 1 -%define mysql_dist el6_2.1 -%define mysql_download_base_url http://vault.centos.org/6.2/updates/Source/SPackages +%define mysql_version_default 5.1.61 +%define mysql_release_default 1 +%define mysql_dist_default el6_2.1 +%define mysql_download_base_url_default http://vault.centos.org/6.2/updates/Source/SPackages %else -%define mysql_version 5.5.24 -%define mysql_release 1 -%define mysql_dist rhel5 -%define mysql_download_base_url http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5 +%define mysql_version_default 5.5.24 +%define mysql_release_default 1 +%define mysql_dist_default rhel5 +%define mysql_download_base_url_default http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5 %endif +%{!?mysql_version:%define mysql_version %{mysql_version_default}} +%{!?mysql_release:%define mysql_release %{mysql_release_default}} +%{!?mysql_dist:%define mysql_dist %{mysql_dist_default}} +%{!?mysql_download_base_url:%define mysql_download_base_url %{mysql_download_base_url_default}} + %define groonga_required_version 2.0.2 Name: mysql-mroonga @@ -164,6 +169,7 @@ fi * Tue May 29 2012 Kouhei Sutou <kou****@clear*****> - 2.03-0 - new upstream release. - use MySQL 5.5.24. +- make mysql_* variables customizable * Sun Apr 29 2012 Kouhei Sutou <kou****@clear*****> - 2.02-0 - new upstream release.