summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-13 10:51:06 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-13 10:51:06 +0200
commitdc1bf8948ea6679891169d2681808dc838a896cc (patch)
tree0eec0055ae9cfb03ec1c956aad6d7357806c31be
parent40d12dd274ec6840210da3e5648978424bbc338f (diff)
MySQL 5.5.53
-rw-r--r--mysql.5.5.53.spec (renamed from mysql.5.5.52.spec)11
-rw-r--r--mysql55.spec10
2 files changed, 17 insertions, 4 deletions
diff --git a/mysql.5.5.52.spec b/mysql.5.5.53.spec
index c6f0200..3ca2a15 100644
--- a/mysql.5.5.52.spec
+++ b/mysql.5.5.53.spec
@@ -1,4 +1,4 @@
-# Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
%global mysql_vendor_2 Sun Microsystems, Inc.
%global mysql_vendor Oracle and/or its affiliates
-%global mysql_version 5.5.52
+%global mysql_version 5.5.53
%global mysqld_user mysql
%global mysqld_group mysql
@@ -242,7 +242,7 @@
Name: MySQL%{product_suffix}
Summary: MySQL: a very fast and reliable SQL database server
Group: Applications/Databases
-Version: 5.5.52
+Version: 5.5.53
Release: %{release}%{?distro_releasetag:.%{distro_releasetag}}
Distribution: %{distro_description}
License: Copyright (c) 2000, 2016, %{mysql_vendor}. All rights reserved. Under %{license_type} license as shown in the Description field.
@@ -562,6 +562,7 @@ install -d $RBR%{_includedir}
install -d $RBR%{_libdir}
install -d $RBR%{_mandir}
install -d $RBR%{_sbindir}
+install -d $RBR/var/lib/mysql-files
mkdir -p $RBR%{_sysconfdir}/my.cnf.d
@@ -1141,6 +1142,7 @@ echo "=====" >> $STATUS_HISTORY
%attr(755, root, root) %{_sysconfdir}/init.d/mysql
%attr(755, root, root) %{_datadir}/mysql/
+%dir %attr(750, mysql, mysql) /var/lib/mysql-files
# ----------------------------------------------------------------------------
%files -n MySQL-client%{product_suffix}
@@ -1226,6 +1228,9 @@ echo "=====" >> $STATUS_HISTORY
# merging BK trees)
##############################################################################
%changelog
+* Mon Sep 26 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
+- Include mysql-files directory
+
* Wed Jul 02 2014 Bjorn Munch <bjorn.munch@oracle.com>
- Disable dtrace unconditionally, breaks after we install Oracle dtrace
diff --git a/mysql55.spec b/mysql55.spec
index 56c0b14..5b32ce3 100644
--- a/mysql55.spec
+++ b/mysql55.spec
@@ -6,7 +6,7 @@
%global with_dtrace 0
Name: mysql
-Version: 5.5.52
+Version: 5.5.53
Release: 1%{?dist}
Summary: MySQL client programs and shared libraries
@@ -330,6 +330,7 @@ cmake . -DBUILD_CONFIG=mysql_release \
-DINSTALL_SUPPORTFILESDIR=share/mysql \
-DMYSQL_DATADIR="/var/lib/mysql" \
-DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
+ -DINSTALL_SECURE_FILE_PRIVDIR="/var/lib/mysql-files" \
-DENABLED_LOCAL_INFILE=ON \
%if %{with_dtrace}
-DENABLE_DTRACE=ON \
@@ -440,6 +441,7 @@ touch $RPM_BUILD_ROOT/var/log/mysqld.log
mkdir -p $RPM_BUILD_ROOT/var/run/mysqld
install -m 0755 -d $RPM_BUILD_ROOT/var/lib/mysql
+install -m 0750 -d $RPM_BUILD_ROOT/var/lib/mysql-files
mkdir -p $RPM_BUILD_ROOT/etc/my.cnf.d
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/my.cnf
@@ -798,6 +800,7 @@ fi
%endif
%attr(0755,mysql,mysql) %dir /var/run/mysqld
%attr(0755,mysql,mysql) %dir /var/lib/mysql
+%attr(0750,mysql,mysql) %dir /var/lib/mysql-files
%attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) /var/log/mysqld.log
%config(noreplace) %{_sysconfdir}/logrotate.d/mysqld
@@ -834,6 +837,11 @@ fi
%{_mandir}/man1/mysql_client_test.1*
%changelog
+* Thu Oct 13 2016 Remi Collet <RPMS@FamilleCollet.com> - 5.5.53-1
+- update to MySQL 5.5.53 Community Server GA
+ http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-53.html
+- add /var/lib/mysql-files directory
+
* Wed Sep 7 2016 Remi Collet <RPMS@FamilleCollet.com> - 5.5.52-1
- update to MySQL 5.5.52 Community Server GA
http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html