Update to mysql 5.5.10; fix /var/run/mysqld problem.

This commit is contained in:
Tom Lane 2011-03-21 14:58:49 -04:00 committed by Michal Schorm
parent f1b89be9ae
commit a864013c84
5 changed files with 22 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/mysql-5.5.9-nodocs.tar.gz
/mysql-5.5.10-nodocs.tar.gz

View File

@ -117,7 +117,7 @@ libmysqlclient_16 {
*;
};
# symbols added in mysql 5.5
libmysqlclient_16.1 {
libmysqlclient_18 {
global:
mysql_client_find_plugin;
mysql_client_register_plugin;

View File

@ -1,6 +1,6 @@
Name: mysql
Version: 5.5.9
Release: 2%{?dist}
Version: 5.5.10
Release: 1%{?dist}
Summary: MySQL client programs and shared libraries
Group: Applications/Databases
URL: http://www.mysql.com
@ -28,6 +28,7 @@ Source6: README.mysql-docs
Source7: README.mysql-license
Source8: libmysql.version
Source9: mysql-embedded-check.c
Source10: mysql.tmpfiles.d
# Working around perl dependency checking bug in rpm FTTB. Remove later.
Source999: filter-requires-mysql.sh
@ -98,6 +99,8 @@ Requires(preun): chkconfig
# This is for /sbin/service
Requires(preun): initscripts
Requires(postun): initscripts
# This is for /etc/tmpfiles.d
Requires: systemd-units
# mysqlhotcopy needs DBI/DBD support
Requires: perl-DBI, perl-DBD-MySQL
Conflicts: MySQL-server
@ -333,6 +336,9 @@ install -m 0755 -d $RPM_BUILD_ROOT/var/lib/mysql
install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysqld
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/my.cnf
mkdir -p $RPM_BUILD_ROOT/etc/tmpfiles.d
install -m 0644 %{SOURCE10} $RPM_BUILD_ROOT/etc/tmpfiles.d/mysql.conf
# Fix funny permissions that cmake build scripts apply to config files
chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/mysql/config.*.ini
@ -567,6 +573,7 @@ fi
%{_datadir}/mysql/config.*.ini
/etc/rc.d/init.d/mysqld
/etc/tmpfiles.d/mysql.conf
%attr(0755,mysql,mysql) %dir /var/run/mysqld
%attr(0755,mysql,mysql) %dir /var/lib/mysql
%attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) /var/log/mysqld.log
@ -604,6 +611,15 @@ fi
%{_mandir}/man1/mysql_client_test.1*
%changelog
* Mon Mar 21 2011 Tom Lane <tgl@redhat.com> 5.5.10-1
- Update to MySQL 5.5.10, for various fixes described at
http://dev.mysql.com/doc/refman/5.5/en/news-5-5-10.html
Note that this includes a rather belated soname version bump for
libmysqlclient.so, from .16 to .18
- Add tmpfiles.d config file so that /var/run/mysqld is recreated at boot
(only needed in Fedora 15 and later)
Resolves: #658938
* Wed Feb 16 2011 Tom Lane <tgl@redhat.com> 5.5.9-2
- Disable a regression test that is now showing platform-dependent results
Resolves: #674253

1
mysql.tmpfiles.d Normal file
View File

@ -0,0 +1 @@
d /var/run/mysqld 0755 mysql mysql -

View File

@ -1 +1 @@
bfefb571663d4716284d930f2c1b8278 mysql-5.5.9-nodocs.tar.gz
11a0edd0f9c46a3ce49773dd537c9236 mysql-5.5.10-nodocs.tar.gz