SPECS: mysql.spec - guide where are the help tables data (probably...

glen glen at pld-linux.org
Wed Jul 27 15:51:12 CEST 2005


Author: glen                         Date: Wed Jul 27 13:51:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- guide where are the help tables data (probably it should be instead in iniscript?)

---- Files affected:
SPECS:
   mysql.spec (1.294 -> 1.295) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.294 SPECS/mysql.spec:1.295
--- SPECS/mysql.spec:1.294	Thu Jul 21 16:13:50 2005
+++ SPECS/mysql.spec	Wed Jul 27 15:51:06 2005
@@ -581,6 +581,15 @@
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 /sbin/chkconfig --add mysql
+
+if [ "$1" = 1 ]; then
+	%banner -e %{name}-4.1.x <<-EOF
+	If you want to use new help tables in mysql 4.1.x then you'll need to import the help data:
+	zcat %{_docdir}/%{name}-%{version}/fill_help_tables.sql.gz | mysql mysql
+EOF
+#'
+fi
+
 %service mysql restart
 
 %preun
@@ -695,6 +704,12 @@
 	' $config_file
 done
 
+%banner -e %{name}-4.1.x <<-EOF
+	If you want to use new help tables in mysql 4.1.x then you'll need to import the help data:
+	zcat %{_docdir}/%{name}-%{version}/fill_help_tables.sql.gz | mysql mysql
+EOF
+#'
+
 %files
 %defattr(644,root,root,755)
 %doc support-files/*.cnf support-files/*.ini scripts/fill_help_tables.sql
@@ -862,6 +877,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.295  2005/07/27 13:51:06  glen
+- guide where are the help tables data (probably it should be instead in iniscript?)
+
 Revision 1.294  2005/07/21 14:13:50  glen
 - use %service macro for mysql server
 - rel 1; STBR
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mysql.spec?r1=1.294&r2=1.295&f=u




More information about the pld-cvs-commit mailing list