[Groonga-commit] groonga/groonga [master] [centos] use system MeCab packages on CentOS 6.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 28日 (月) 02:02:28 JST


Kouhei Sutou	2011-11-27 17:02:28 +0000 (Sun, 27 Nov 2011)

  New Revision: df000379fc71151d87e9f81304045e44d0563a1d

  Log:
    [centos] use system MeCab packages on CentOS 6.

  Modified files:
    packages/yum/build-rpm.sh

  Modified: packages/yum/build-rpm.sh (+2 -1)
===================================================================
--- packages/yum/build-rpm.sh    2011-11-27 15:31:24 +0000 (5200eb8)
+++ packages/yum/build-rpm.sh    2011-11-27 17:02:28 +0000 (f0a8de4)
@@ -76,7 +76,8 @@ EOF
 fi
 
 run yum update ${yum_options} -y
-if [ "$distribution" = "centos" ] && ! rpm -q mecab-devel > /dev/null; then
+if [ "${distribution}-${distribution_version}" = "centos-5" ] && \
+    ! rpm -q mecab-devel > /dev/null; then
     run yum install -y rpm-build wget libtool gcc gcc-c++ make
 
     cat <<EOF > $BUILD_SCRIPT




Groonga-commit メーリングリストの案内
Back to archive index