Navigation Menu

Skip to content

Commit

Permalink
rpm fedora: resolve package dependency for MySQL and MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Jul 24, 2013
1 parent 8f5407f commit 685d55f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/yum/build-rpm.sh
Expand Up @@ -89,7 +89,13 @@ rpmbuild_options="${BUILD_OPTIONS}"

case $distribution in
fedora)
DEPENDED_PACKAGES="$DEPENDED_PACKAGES community-mysql-devel"
if [ $PACKAGE = "mysql-mroonga" ]; then
run yum remove mariadb -y
DEPENDED_PACKAGES="$DEPENDED_PACKAGES community-mysql-devel"
else
run yum remove community-mysql -y
DEPENDED_PACKAGES="$DEPENDED_PACKAGES mariadb-devel"
fi
DEPENDED_PACKAGES="$DEPENDED_PACKAGES cmake libaio-devel systemtap-sdt-devel"
;;
centos)
Expand Down

0 comments on commit 685d55f

Please sign in to comment.