Add patch mysql-5.5-libmysqlclient-symbols.patch for el7

parent 1a1e9040
...@@ -81,6 +81,7 @@ IF(UNIX) ...@@ -81,6 +81,7 @@ IF(UNIX)
CONFIGURE_FILE(mysql.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/${SPECFILENAME} @ONLY) CONFIGURE_FILE(mysql.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/${SPECFILENAME} @ONLY)
CONFIGURE_FILE(MySQL-shared-compat.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/MySQL-shared-compat.spec @ONLY) CONFIGURE_FILE(MySQL-shared-compat.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/MySQL-shared-compat.spec @ONLY)
CONFIGURE_FILE(mysql-5.5-libmysqlclient-symbols.patch ${CMAKE_CURRENT_BINARY_DIR}/mysql-5.5-libmysqlclient-symbols.patch @ONLY)
SET(bindir ${prefix}/${INSTALL_BINDIR}) SET(bindir ${prefix}/${INSTALL_BINDIR})
SET(sbindir ${prefix}/${INSTALL_SBINDIR}) SET(sbindir ${prefix}/${INSTALL_SBINDIR})
......
This diff is collapsed.
...@@ -251,6 +251,7 @@ URL: http://www.mysql.com/ ...@@ -251,6 +251,7 @@ URL: http://www.mysql.com/
Packager: MySQL Release Engineering <mysql-build@oss.oracle.com> Packager: MySQL Release Engineering <mysql-build@oss.oracle.com>
Vendor: %{mysql_vendor} Vendor: %{mysql_vendor}
BuildRequires: %{distro_buildreq} BuildRequires: %{distro_buildreq}
%{?el7:Patch0: mysql-5.5-libmysqlclient-symbols.patch}
# Regression tests may take a long time, override the default to skip them # Regression tests may take a long time, override the default to skip them
%{!?runselftest:%global runselftest 1} %{!?runselftest:%global runselftest 1}
...@@ -443,7 +444,7 @@ For a description of MySQL see the base MySQL RPM or http://www.mysql.com/ ...@@ -443,7 +444,7 @@ For a description of MySQL see the base MySQL RPM or http://www.mysql.com/
############################################################################## ##############################################################################
%prep %prep
%setup -T -a 0 -c -n %{src_dir} %setup -T -a 0 -c -n %{src_dir}
%{?el7:%patch0 -p1}
############################################################################## ##############################################################################
%build %build
...@@ -1094,6 +1095,7 @@ echo "=====" >> $STATUS_HISTORY ...@@ -1094,6 +1095,7 @@ echo "=====" >> $STATUS_HISTORY
%doc %attr(644, root, man) %{_mandir}/man1/resolveip.1* %doc %attr(644, root, man) %{_mandir}/man1/resolveip.1*
%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf %ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
%dir %{_sysconfdir}/my.cnf.d
%attr(755, root, root) %{_bindir}/innochecksum %attr(755, root, root) %{_bindir}/innochecksum
%attr(755, root, root) %{_bindir}/my_print_defaults %attr(755, root, root) %{_bindir}/my_print_defaults
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment