mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixes to get mysql-test included in the distributions
client/mysqldump.c: Fixed to not use strncasecmp client/mysqlimport.c: Fixed to not use strncasecmp mysql-test/Makefile.am: Changes needed for RPM mysql-test/mysql-test-run.sh: Changes to work with binary installations scripts/make_binary_distribution.sh: Added missing mysql-test files sql-bench/Makefile.am: Changes needed for RPM sql/mysqld.cc: Portability fix support-files/mysql.spec.sh: Added mysql-test to sql-bench
This commit is contained in:
@ -85,7 +85,7 @@ Este pacote cont
|
||||
%package bench
|
||||
Release: %{release}
|
||||
Requires: MySQL-client MySQL-DBI-perl-bin perl
|
||||
Summary: MySQL - Benchmarks
|
||||
Summary: MySQL - Benchmarks and test system
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL - Medi<64><69>es de desempenho
|
||||
Group(pt_BR): Aplica<63><61>es/Banco_de_Dados
|
||||
@ -168,7 +168,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \
|
||||
"
|
||||
|
||||
# benchdir does not fit in above model. Maybe a separate bench distribution
|
||||
make benchdir=$RPM_BUILD_ROOT/usr/share/sql-bench
|
||||
make benchdir_root=$RPM_BUILD_ROOT/usr/share/
|
||||
}
|
||||
|
||||
# Use the build root for temporary storage of the shared libraries.
|
||||
@ -208,11 +208,12 @@ MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}
|
||||
install -d $RBR/etc/{logrotate.d,rc.d/init.d}
|
||||
install -d $RBR/var/lib/mysql/mysql
|
||||
install -d $RBR/usr/share/sql-bench
|
||||
install -d $RBR/usr/share/mysql-test
|
||||
install -d $RBR/usr/{sbin,share,man,include}
|
||||
install -d $RBR/usr/doc/MySQL-%{mysql_version}
|
||||
install -d $RBR/usr/lib
|
||||
# Make install
|
||||
make install DESTDIR=$RBR benchdir=/usr/share/sql-bench
|
||||
make install DESTDIR=$RBR benchdir_root=/usr/share/
|
||||
|
||||
# Install shared libraries (Disable for architectures that don't support it)
|
||||
(cd $RBR/usr/lib; tar xf $RBR/shared-libs.tar)
|
||||
@ -366,9 +367,14 @@ fi
|
||||
|
||||
%files bench
|
||||
%attr(-, root, root) /usr/share/sql-bench
|
||||
%attr(-, root, root) /usr/share/mysql-test
|
||||
|
||||
%changelog
|
||||
|
||||
* Tue Jan 2 2001 Monty
|
||||
|
||||
- Added mysql-test to the bench package
|
||||
|
||||
* Fri Aug 18 2000 Tim Smith <tim@mysql.com>
|
||||
|
||||
- Added separate libmysql_r directory; now both a threaded
|
||||
|
Reference in New Issue
Block a user