Below is the list of changes that have just been committed into a local
5.0 repository of lenz. When lenz does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.1929 05/06/07 11:40:56 lenz@stripped +2 -0
- manual merge of mysql.spec.sh
support-files/mysql.spec.sh
1.102 05/06/07 11:40:50 lenz@stripped +1 -12
- post merge fixes
scripts/Makefile.am
1.44 05/06/07 11:02:15 lenz@stripped +0 -0
Auto merged
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: lenz
# Host: metis.lenznet
# Root: /space/my/mysql-5.0-build/RESYNC
--- 1.43/scripts/Makefile.am 2005-04-26 12:03:33 +02:00
+++ 1.44/scripts/Makefile.am 2005-06-07 11:02:15 +02:00
@@ -33,8 +33,6 @@
mysql_explain_log \
mysql_tableinfo \
mysqld_multi \
- make_win_src_distribution \
- make_win_binary_distribution \
mysql_create_system_tables
EXTRA_SCRIPTS = make_binary_distribution.sh \
@@ -86,6 +84,7 @@
mysqldumpslow \
mysqld_multi \
make_win_src_distribution \
+ make_win_binary_distribution \
mysql_create_system_tables
DISTCLEANFILES = mysqlbug
--- 1.101/support-files/mysql.spec.sh 2005-05-31 09:30:34 +02:00
+++ 1.102/support-files/mysql.spec.sh 2005-06-07 11:40:50 +02:00
@@ -4,8 +4,10 @@
%else
%define release 0.glibc23
%endif
+%define license GPL
%define mysqld_user mysql
%define server_suffix -standard
+%define mysqldatadir /var/lib/mysql
# We don't package all files installed into the build root by intention -
# See BUG#998 for details.
@@ -16,11 +18,9 @@
Name: MySQL
Summary: MySQL: a very fast and reliable SQL database server
Group: Applications/Databases
-Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável.
-Group(pt_BR): Aplicações/Banco_de_Dados
Version: @MYSQL_NO_DASH_VERSION@
Release: %{release}
-License: GPL
+License: %{license}
Source: http://www.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/mysql-%{mysql_version}.tar.gz
URL: http://www.mysql.com/
Packager: Lenz Grimmer <build@stripped>
@@ -54,11 +54,8 @@
documentation and the manual for more information.
%package server
-Release: %{release}
Summary: MySQL: a very fast and reliable SQL database server
Group: Applications/Databases
-Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável.
-Group(pt_BR): Aplicações/Banco_de_Dados
Requires: fileutils sh-utils
Provides: msqlormysql mysql-server mysql MySQL
Obsoletes: MySQL mysql mysql-server
@@ -88,11 +85,8 @@
package "MySQL-client" as well!
%package client
-Release: %{release}
Summary: MySQL - Client
Group: Applications/Databases
-Summary(pt_BR): MySQL - Cliente
-Group(pt_BR): Aplicações/Banco_de_Dados
Obsoletes: mysql-client
Provides: mysql-client
@@ -101,11 +95,7 @@
%{see_base}
-%description client -l pt_BR
-Este pacote contém os clientes padrão para o MySQL.
-
%package ndb-storage
-Release: %{release}
Summary: MySQL - ndbcluster storage engine
Group: Applications/Databases
@@ -119,7 +109,6 @@
%{see_base}
%package ndb-management
-Release: %{release}
Summary: MySQL - ndbcluster storage engine management
Group: Applications/Databases
@@ -131,7 +120,6 @@
%{see_base}
%package ndb-tools
-Release: %{release}
Summary: MySQL - ndbcluster storage engine basic tools
Group: Applications/Databases
@@ -141,7 +129,6 @@
%{see_base}
%package ndb-extra
-Release: %{release}
Summary: MySQL - ndbcluster storage engine extra tools
Group: Applications/Databases
@@ -152,12 +139,9 @@
%{see_base}
%package bench
-Release: %{release}
Requires: %{name}-client perl-DBI perl
Summary: MySQL - Benchmarks and test system
Group: Applications/Databases
-Summary(pt_BR): MySQL - Medições de desempenho
-Group(pt_BR): Aplicações/Banco_de_Dados
Provides: mysql-bench
Obsoletes: mysql-bench
@@ -166,15 +150,9 @@
%{see_base}
-%description bench -l pt_BR
-Este pacote contém medições de desempenho de scripts e dados do
MySQL.
-
%package devel
-Release: %{release}
Summary: MySQL - Development header files and libraries
Group: Applications/Databases
-Summary(pt_BR): MySQL - Medições de desempenho
-Group(pt_BR): Aplicações/Banco_de_Dados
Provides: mysql-devel
Obsoletes: mysql-devel
@@ -184,12 +162,7 @@
%{see_base}
-%description devel -l pt_BR
-Este pacote contém os arquivos de cabeçalho (header files) e bibliotecas
-necessárias para desenvolver aplicações clientes do MySQL.
-
%package shared
-Release: %{release}
Summary: MySQL - Shared libraries
Group: Applications/Databases
@@ -198,7 +171,6 @@
languages and applications need to dynamically load and use MySQL.
%package Max
-Release: %{release}
Summary: MySQL - server with extended functionality
Group: Applications/Databases
Provides: mysql-Max
@@ -222,12 +194,9 @@
Please note that this is a dynamically linked binary!
%package embedded
-Release: %{release}
Requires: %{name}-devel
Summary: MySQL - embedded library
Group: Applications/Databases
-Summary(pt_BR): MySQL - Medições de desempenho
-Group(pt_BR): Aplicações/Banco_de_Dados
Obsoletes: mysql-embedded
%description embedded
@@ -271,7 +240,7 @@
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} \
- --localstatedir=/var/lib/mysql \
+ --localstatedir=%{mysqldatadir} \
--infodir=%{_infodir} \
--includedir=%{_includedir} \
--mandir=%{_mandir} \
@@ -311,7 +280,7 @@
PATH=${MYSQL_BUILD_PATH:-/bin:/usr/bin}
export PATH
-# Build the 4.0 Max binary (includes BDB and UDFs and therefore
+# Build the Max binary (includes BDB and UDFs and therefore
# cannot be linked statically against the patched glibc)
# Use gcc for C and C++ code (to avoid a dependency on libstdc++ and
@@ -336,8 +305,7 @@
--with-comment=\"MySQL Community Edition - Max (GPL)\" \
--with-server-suffix='-Max'"
-# Save everything for debug
-# tar cf $RBR/all.tar .
+make test
# Save mysqld-max
mv sql/mysqld sql/mysqld-max
@@ -387,13 +355,15 @@
--without-openssl"
nm --numeric-sort sql/mysqld > sql/mysqld.sym
+make test
+
%install
RBR=$RPM_BUILD_ROOT
MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}
# Ensure that needed directories exists
install -d $RBR%{_sysconfdir}/{logrotate.d,init.d}
-install -d $RBR/var/lib/mysql/mysql
+install -d $RBR%{mysqldatadir}/mysql
install -d $RBR%{_datadir}/{sql-bench,mysql-test}
install -d $RBR%{_includedir}
install -d $RBR%{_libdir}
@@ -447,7 +417,7 @@
fi
%post server
-mysql_datadir=/var/lib/mysql
+mysql_datadir=%{mysqldatadir}
# Create data directory if needed
if test ! -d $mysql_datadir; then mkdir -m755 $mysql_datadir; fi
@@ -467,17 +437,17 @@
# Create a MySQL user. Do not report any problems if it already
# exists. This is redhat specific and should be handled more portable
-useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" mysql 2> /dev/null ||
true
+useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" %{mysqld_user} 2>
/dev/null || true
# Change permissions so that the user that will run the MySQL daemon
# owns all database files.
-chown -R mysql $mysql_datadir
+chown -R %{mysqld_user} $mysql_datadir
# Initiate databases
-mysql_install_db --rpm --user=mysql
+%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
# Change permissions again to fix any new files.
-chown -R mysql $mysql_datadir
+chown -R %{mysqld_user} $mysql_datadir
# Fix permissions for the permission database so that only the user
# can read them.
@@ -672,6 +642,7 @@
%defattr(-, root, root, 0755)
%attr(-, root, root) %{_datadir}/sql-bench
%attr(-, root, root) %{_datadir}/mysql-test
+%attr(755, rott, root) %{_bindir}/mysql_client_test
%attr(755, root, root) %{_bindir}/mysqltestmanager
%attr(755, root, root) %{_bindir}/mysqltestmanager-pwgen
%attr(755, root, root) %{_bindir}/mysqltestmanagerc
@@ -689,6 +660,17 @@
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
+* Mon Jun 06 2005 Lenz Grimmer <lenz@stripped>
+
+- added mysql_client_test to the "bench" subpackage (BUG 10676)
+
+* Wed Jun 01 2005 Lenz Grimmer <lenz@stripped>
+
+- use "mysqldatadir" variable instead of hard-coding the path multiple times
+- use the "mysqld_user" variable on all occasions a user name is referenced
+- removed (incomplete) Brazilian translations
+- removed redundant release tags from the subpackage descriptions
+
* Wed May 25 2005 Joerg Bruehe <joerg@stripped>
- Added a "make clean" between separate calls to "BuildMySQL".
| Thread |
|---|
| • bk commit into 5.0 tree (lenz:1.1929) | lenz | 7 Jun |