From d9d74030fa94743012a3b0a4698eb79cf56a27a2 Mon Sep 17 00:00:00 2001 From: GreatSQL Date: Thu, 24 Apr 2025 10:54:37 +0800 Subject: [PATCH] add mysql and mysqlrouter private dir into ldconfig search path (cherry picked from commit 15d3100e8c5b4cde242aeb1c2bc2fab8ec20481b) --- greatsql.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/greatsql.spec b/greatsql.spec index b629e55..9b96da1 100644 --- a/greatsql.spec +++ b/greatsql.spec @@ -32,7 +32,7 @@ %global greatsql_version 27 %global revision aa66a385910 %global tokudb_backup_version %{mysql_version}-%{greatsql_version} -%global rpm_release 5 +%global rpm_release 6 %global release %{greatsql_version}.%{rpm_release}%{?dist} @@ -99,7 +99,7 @@ %global license_type GPLv2 Name: greatsql -Summary: GreatSQL: a high performance, highly reliable, easy to use, and high security database +Summary: GreatSQL: a high performance, highly reliable, easy to use, and high security database that can be used to replace MySQL or Percona Server. Group: Applications/Databases Version: %{mysql_version} Release: %{release} @@ -219,7 +219,7 @@ Conflicts: Percona-Server %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}%{_privatelibs} %description -GreatSQL focuses on improving the reliability and performance of MGR, supports InnoDB parallel query and other features, and is a domestic MySQL version suitable for financial applications. It can be used as an optional replacement of MySQL or Percona Server. It is completely free and compatible with MySQL or Percona server. +GreatSQL: a high performance, highly reliable, easy to use, and high security database that can be used to replace MySQL or Percona Server. For a description of GreatSQL see https://greatsql.cn @@ -252,7 +252,7 @@ Requires(preun): /sbin/service %endif %description -n greatsql-server -GreatSQL: a high performance, highly reliable, easy to use, and high security database that can be used to replace MySQL or Percona Server. +GreatSQL database server binaries and system database setup. For a description of GreatSQL see https://greatsql.cn @@ -521,7 +521,10 @@ install -d %{buildroot}%{_sysconfdir}/my.cnf.d # Add libdir to linker install -d -m 0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d -echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf +echo "%{_libdir}/mysql" >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf +echo "%{_libdir}/mysql/private" >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf +echo "%{_libdir}/mysqlrouter" >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf +echo "%{_libdir}/mysqlrouter/private" >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf # multiarch support %ifarch %{multiarchs} @@ -1082,6 +1085,10 @@ fi %{_libdir}/mysql/private/icudt69l/brkitr %changelog +* Thu Apr 24 2025 GreatSQL - 8.0.32-27.6 +- add mysql and mysqlrouter private dir into ldconfig search path +- update descriptions + * Fri Apr 11 2025 Funda Wang - 8.0.32-27.5 - greatsql-mysql-config was removed previously, my.cnf was moved into greatsql-server package without conflicts and obsoletes -- Gitee