Author: glen                         Date: Sun Oct 22 19:07:34 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- package ha_blackhole plugin

---- Files affected:
SPECS:
   mysql.spec (1.324.2.6 -> 1.324.2.7) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.324.2.6 SPECS/mysql.spec:1.324.2.7
--- SPECS/mysql.spec:1.324.2.6  Sun Oct 22 20:55:33 2006
+++ SPECS/mysql.spec    Sun Oct 22 21:07:28 2006
@@ -7,9 +7,6 @@
 # - berkeley is still compiled in regardless of --without conf arg
 # - missing have_archive, have_merge
 # - is plugin_dir lib64 safe?
-#   /usr/lib/mysql/ha_blackhole.a
-#   /usr/lib/mysql/ha_blackhole.la
-#   /usr/lib/mysql/ha_blackhole.so.0.0.0
 #
 # Conditional build:
 %bcond_with    bdb             # Berkeley DB support
@@ -30,7 +27,7 @@
 Summary(zh_CN):        MySQLĘýžÝżâˇţÎńĆ÷
 Name:          mysql
 Version:       5.1.11
-Release:       0.5
+Release:       0.6
 License:       GPL + MySQL FLOSS Exception
 Group:         Applications/Databases
 Source0:       
http://mysql.dataphone.se/Downloads/MySQL-5.1/%{name}-%{version}-beta.tar.gz
@@ -76,6 +73,7 @@
 BuildRequires: sed >= 4.0
 BuildRequires: texinfo
 BuildRequires: zlib-devel
+Requires(post,postun): /sbin/ldconfig
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/groupdel
 Requires(postun):      /usr/sbin/userdel
@@ -569,6 +567,9 @@
 # in %doc
 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/*.{ini,cnf}
 
+# afaik not needed
+rm $RPM_BUILD_ROOT%{_libdir}/mysql/ha_blackhole.{a,la}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -578,6 +579,7 @@
 
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} 
>/dev/null 2>&1
+/sbin/ldconfig
 /sbin/chkconfig --add mysql
 %service mysql restart
 
@@ -589,6 +591,8 @@
 
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} 
>/dev/null 2>&1
+/sbin/ldconfig
+
 if [ "$1" = "0" ]; then
        %userremove mysql
        %groupremove mysql
@@ -697,6 +701,8 @@
 %attr(755,root,root) %{_bindir}/my_print_defaults
 %attr(755,root,root) %{_bindir}/mysql_upgrade
 %attr(755,root,root) %{_sbindir}/mysqld
+%dir %{_libdir}/mysql
+%attr(755,root,root) %{_libdir}/mysql/ha_blackhole.so.*.*.*
 %{_mandir}/man1/mysql_fix_privilege_tables.1*
 %{_mandir}/man1/mysqld.1*
 %{_mandir}/man1/myisamchk.1*
@@ -849,6 +855,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.324.2.7  2006/10/22 19:07:28  glen
+- package ha_blackhole plugin
+
 Revision 1.324.2.6  2006/10/22 18:55:33  glen
 - build with system openssl
 - misunderstood usage of --with-plugins (denotes plugins compiled into mysqld)
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to