Update to MySQL 5.5.17

This commit is contained in:
Tom Lane 2011-11-12 22:08:23 -05:00 committed by Michal Schorm
parent f542b8ae00
commit 4b4f648924
3 changed files with 22 additions and 17 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/mysql-5.5.16-nodocs.tar.gz /mysql-5.5.17-nodocs.tar.gz

View File

@ -1,10 +1,6 @@
Name: mysql Name: mysql
Version: 5.5.16 Version: 5.5.17
Release: 4%{?dist} Release: 1%{?dist}
# Update this whenever F15 gets rebased; it must be NVR-greater than F15 pkg.
# Our convention for the life of F15 is that sysv packages will be numbered
# 1dist.n while systemd packages will be 2dist and higher.
%global first_systemd_version 5.5.15-2
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
Group: Applications/Databases Group: Applications/Databases
@ -439,16 +435,20 @@ fi
/bin/chmod 0755 /var/lib/mysql /bin/chmod 0755 /var/lib/mysql
/bin/touch /var/log/mysqld.log /bin/touch /var/log/mysqld.log
# Run this when upgrading from SysV initscript to native systemd unit # Handle upgrading from SysV initscript to native systemd unit.
%triggerun server -- mysql-server < %{first_systemd_version} # We can tell if a SysV version of mysql was previously installed by
# Save the current service runlevel info # checking to see if the initscript is present.
# User must manually run systemd-sysv-convert --apply mysqld %triggerun server -- mysql-server
# to migrate them to systemd targets if [ -f /etc/rc.d/init.d/mysqld ]; then
/usr/bin/systemd-sysv-convert --save mysqld >/dev/null 2>&1 || : # Save the current service runlevel info
# User must manually run systemd-sysv-convert --apply mysqld
# to migrate them to systemd targets
/usr/bin/systemd-sysv-convert --save mysqld >/dev/null 2>&1 || :
# Run these because the SysV package being removed won't do them # Run these because the SysV package being removed won't do them
/sbin/chkconfig --del mysqld >/dev/null 2>&1 || : /sbin/chkconfig --del mysqld >/dev/null 2>&1 || :
/bin/systemctl try-restart mysqld.service >/dev/null 2>&1 || : /bin/systemctl try-restart mysqld.service >/dev/null 2>&1 || :
fi
%preun server %preun server
if [ $1 = 0 ]; then if [ $1 = 0 ]; then
@ -656,6 +656,11 @@ fi
%{_mandir}/man1/mysql_client_test.1* %{_mandir}/man1/mysql_client_test.1*
%changelog %changelog
* Sat Nov 12 2011 Tom Lane <tgl@redhat.com> 5.5.17-1
- Update to MySQL 5.5.17, for various fixes described at
http://dev.mysql.com/doc/refman/5.5/en/news-5-5-17.html
- Get rid of version-number assumption in sysv-to-systemd conversion trigger
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 5.5.16-4 * Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 5.5.16-4
- Don't assume all ethernet devices are named ethX - Don't assume all ethernet devices are named ethX
Resolves: #682365 Resolves: #682365

View File

@ -1 +1 @@
f73cbec75c7d5937964271497c14ee39 mysql-5.5.16-nodocs.tar.gz 48b4df648747f49468c4753db786acbf mysql-5.5.17-nodocs.tar.gz