[Groonga-mysql-commit] mroonga/mroonga [master] yum: use mysql_version_default instead of mysql_version

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 24日 (木) 20:07:38 JST


HAYASHI Kentaro	2012-05-24 20:07:38 +0900 (Thu, 24 May 2012)

  New Revision: d56dfd0b2e4bdc6f87ecb236b98f30ee1d5b8277

  Log:
    yum: use mysql_version_default instead of mysql_version

  Modified files:
    packages/yum/build-in-chroot.sh

  Modified: packages/yum/build-in-chroot.sh (+2 -2)
===================================================================
--- packages/yum/build-in-chroot.sh    2012-05-24 17:18:48 +0900 (74dac0a)
+++ packages/yum/build-in-chroot.sh    2012-05-24 20:07:38 +0900 (3880b75)
@@ -145,9 +145,9 @@ build()
     run cp -p $rpm_dir/*-${VERSION}* $binary_pool_dir
     run cp -p $srpm_dir/*-${VERSION}* $source_pool_dir
     if [ $distribution = "centos" -a $distribution_version -eq 5 ]; then
-	mysql_version=$(grep '%define mysql_version' \
+	mysql_version=$(grep '%define mysql_version_default' \
 	    ${CHROOT_BASE}/$target/tmp/${PACKAGE}.spec | \
-	    sed -e 's/%define mysql_version //g' | \
+	    sed -e 's/%define mysql_version_default //g' | \
 	    tail -1)
 	run cp -p $rpm_dir/MySQL-*-${mysql_version}* $binary_pool_dir
 	run cp -p $srpm_dir/MySQL-${mysql_version}* $source_pool_dir




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