From adc470c290a89913aa47e7ab9fcb658f560a5d37 Mon Sep 17 00:00:00 2001
From: unknown <lenz@kallisto.local>
Date: Mon, 8 Dec 2003 14:38:29 +0100
Subject: Fixed two packaging bugs:

 - postinstall of the Mac OS X PKG failed as a parameter for
   mysql_install_db was changed for MySQL 4.1
 - postinstall of the Server RPM failed as mysql_create_system_tables was
   missing from the file list


support-files/MacOSX/postinstall.sh:
   - Fix parameter for mysql_install_db (it was changed from -IN-RPM to --rpm
     in the 4.1 tree)
support-files/mysql.spec.sh:
   - Added missing file mysql_create_system_tables to the server subpackage
---
 support-files/MacOSX/postinstall.sh | 2 +-
 support-files/mysql.spec.sh         | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

(limited to 'support-files')

diff --git a/support-files/MacOSX/postinstall.sh b/support-files/MacOSX/postinstall.sh
index f46f4480e3e..ff921d3fee9 100644
--- a/support-files/MacOSX/postinstall.sh
+++ b/support-files/MacOSX/postinstall.sh
@@ -10,7 +10,7 @@
 
 if cd @prefix@ ; then
 	if [ ! -f data/mysql/db.frm ] ; then
-		./scripts/mysql_install_db -IN-RPM
+		./scripts/mysql_install_db --rpm
 	fi
 
 	if [ -d data ] ; then
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 59006a187d0..0eb642650d7 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -470,6 +470,7 @@ fi
 %attr(755, root, root) %{_bindir}/myisamlog
 %attr(755, root, root) %{_bindir}/myisampack
 %attr(755, root, root) %{_bindir}/mysql_convert_table_format
+%attr(755, root, root) %{_bindir}/mysql_create_system_tables
 %attr(755, root, root) %{_bindir}/mysql_explain_log
 %attr(755, root, root) %{_bindir}/mysql_fix_extensions
 %attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables
@@ -568,6 +569,10 @@ fi
 # The spec file changelog only includes changes made to the spec file
 # itself
 %changelog 
+* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com>
+
+- added missing file mysql_create_system_tables to the server subpackage
+
 * Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com>
 
 - removed dependency on MySQL-client from the MySQL-devel subpackage
-- 
cgit v1.2.1