import rubygem-mysql2-0.4.10-4.module+el8+2671+ebcc7ee0

This commit is contained in:
CentOS Sources 2019-05-07 06:47:14 -04:00 committed by Andrew Lukoshko
parent d32889d7c5
commit 1ffaf5cf91
1 changed files with 1 additions and 3 deletions

View File

@ -97,9 +97,7 @@ pushd .%{gem_instdir}
TOP_DIR=$(pwd)
# Use testing port because the standard mysqld port 3306 is occupied.
# Assign a random port to consider a case of multi builds in parallel in a host.
# https://src.fedoraproject.org/rpms/rubygem-pg/pull-request/3
MYSQL_TEST_PORT="$((13306 + ${RANDOM} % 1000))"
MYSQL_TEST_PORT="13306"
MYSQL_TEST_USER=$(id -un)
MYSQL_TEST_DATA_DIR="${TOP_DIR}/data"
MYSQL_TEST_SOCKET="${TOP_DIR}/mysql.sock"