From e8b06f1da4c21c469beabf1d71f6d49c028aa8a2 Mon Sep 17 00:00:00 2001 From: GreatSQL Date: Thu, 27 Mar 2025 18:52:53 +0800 Subject: [PATCH] bugs fix: mtr requires --- greatsql.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/greatsql.spec b/greatsql.spec index c64f0d4..a416b43 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 2 +%global rpm_release 3 %global release %{greatsql_version}.%{rpm_release}%{?dist} @@ -110,9 +110,7 @@ SOURCE10: https://archives.boost.io/release/1.77.0/source/boost_1_77_0.tar SOURCE11: mysqld.cnf SOURCE12: mysql_config.sh Patch0: mysql-5.7-sharedlib-rename.patch -%ifarch riscv64 Patch1: add-riscv64-support.patch -%endif BuildRequires: cmake >= 2.8.2 BuildRequires: make BuildRequires: gcc @@ -213,8 +211,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %global __provides_exclude_from ^(/usr/share/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so|/usr/include/mysql/.*|/usr/share/man/man.*/mysql.*|/etc/my.cnf|/usr/bin/mysql.*|/usr/sbin/mysqld.*|*libprotobuf*|*libmysqlclient.so*|*libmysqlharness*|*libmysqlrouter*|*mysqlclient*|*libdaemon*|*libfnv*|*libmemcached*|*libmurmur*|*libtest*)$ %global _privatelibs lib(protobuf|mysqlclient|mysqlharness|mysqlrouter|mysqlclient|daemon|fnv|memcached|murmur|test)*\\.so* -%global __provides_exclude %{_privatelibs} -%global __requires_exclude %{_privatelibs} +#%global __provides_exclude %{_privatelibs} +#%global __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. @@ -421,9 +419,7 @@ For a description of GreatSQL see https://greatsql.cn %setup -q -T -a 0 -a 10 -c -n %{src_dir} pushd %{src_dir} %patch -P0 -p0 -%ifarch riscv64 %patch -P1 -p1 -%endif cp %{SOURCE11} scripts %build @@ -1173,6 +1169,9 @@ fi %{_libdir}/mysql/private/icudt69l/brkitr %changelog +* Thu Mar 27 2025 GreatSQL - 8.0.32-27.3 +- bugs fix: mtr requires + * Mon Mar 24 2025 GreatSQL - 8.0.32-27.2 - Remove debug build stage - Add some new cmake options -- Gitee