From e68f783d66186acd7ea68ed7dd6eba09b92476ab Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 21 Apr 2025 09:23:15 +0800 Subject: [PATCH] sync with master codebase --- greatsql.spec | 461 ++++++++++++-------------------------------------- 1 file changed, 105 insertions(+), 356 deletions(-) diff --git a/greatsql.spec b/greatsql.spec index 2ecff21..b629e55 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 1 +%global rpm_release 5 %global release %{greatsql_version}.%{rpm_release}%{?dist} @@ -55,7 +55,7 @@ %{!?with_systemd: %global systemd 0} %global systemd 1 -%{!?with_debuginfo: %global nodebuginfo 0} +%{!?with_debuginfo: %global nodebuginfo 1} %{!?product_suffix: %global product_suffix -80} %{!?feature_set: %global feature_set community} %{!?compilation_comment_release: %global compilation_comment_release GreatSQL (GPL), Release %{greatsql_version}, Revision %{revision}} @@ -104,11 +104,11 @@ Group: Applications/Databases Version: %{mysql_version} Release: %{release} License: GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND GPL-1.0-or-later OR Artistic-1.0-Perl AND BSD-2-Clause -SOURCE0: https://product.greatdb.com/GreatSQL-%{mysql_version}-%{greatsql_version}/%{name}-%{mysql_version}-%{greatsql_version}.tar.xz URL: https://greatsql.cn -SOURCE5: mysql_config.sh +SOURCE0: https://product.greatdb.com/GreatSQL-%{mysql_version}-%{greatsql_version}/%{name}-%{mysql_version}-%{greatsql_version}.tar.xz SOURCE10: https://archives.boost.io/release/1.77.0/source/boost_1_77_0.tar.bz2 SOURCE11: mysqld.cnf +SOURCE12: mysql_config.sh Patch0: mysql-5.7-sharedlib-rename.patch Patch1: add-riscv64-support.patch BuildRequires: cmake >= 2.8.2 @@ -149,13 +149,21 @@ BuildRequires: libaio-devel BuildRequires: ncurses-devel BuildRequires: pam-devel BuildRequires: readline-devel +%ifnarch aarch64 BuildRequires: numactl-devel +%endif BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: bison BuildRequires: openldap-devel BuildRequires: libcurl-devel +BuildRequires: libedit-devel +BuildRequires: libevent-devel +BuildRequires: libicu-devel +BuildRequires: lz4 +BuildRequires: lz4-devel +BuildRequires: libzstd-devel %if 0%{?systemd} BuildRequires: systemd BuildRequires: pkgconfig(systemd) @@ -171,15 +179,44 @@ BuildRequires: rpcgen BuildRequires: m4 BuildRequires: krb5-devel BuildRequires: libudev-devel + +#some more requires, 2025.3.24 +BuildRequires: mecab-devel +BuildRequires: gzip +BuildRequires: perl(base) +BuildRequires: perl(Digest::file) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Env) +BuildRequires: perl(FindBin) +BuildRequires: perl(if) +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) +BuildRequires: perl(LWP::Simple) +BuildRequires: perl(Net::Ping) +BuildRequires: perl(Socket) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +BuildRequires: procps +BuildRequires: protobuf-lite-devel +BuildRequires: zlib +#end for some more requires + BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +Conflicts: community-mysql mysql-community +Conflicts: mariadb +Conflicts: Percona-Server + # For rpm => 4.9 only: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering -%global __requires_exclude ^perl\\((GD|hostnames|lib::mtr|lib::v1|mtr_|My::|Lmo|Lmo::Meta|Lmo::Object|Lmo::Types|Lmo::Utils|Percona::Toolkit|Quoter|Transformers) -%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 __requires_exclude ^perl\\(GD|hostnames|lib::mtr|lib::v1|mtr_|My::|Lmo|Lmo::Meta|Lmo::Object|Lmo::Types|Lmo::Utils|Percona::Toolkit|Quoter|Transformers) +%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so|%{_bindir}/mysql.*|%{_sbindir}/mysqld.*)$ %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 %{?__provides_exclude:%__provides_exclude|}%{_privatelibs} +%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. @@ -199,8 +236,11 @@ Requires(pre): greatsql-shared Requires: greatsql-client Requires: greatsql-icu-data-files Requires: openssl -Conflicts: Percona-SQL-server-50 Percona-Server-server-51 Percona-Server-server-55 Percona-Server-server-56 Percona-Server-server-57 - +Conflicts: greatsql-mysql-config < %{version}-%{release} +Obsoletes: greatsql-mysql-config < %{version}-%{release} +Conflicts: mysql-server mysql-community-server mysql-config +Conflicts: mariadb-server mariadb-galera-server mariadb-connector-c-config mariadb-config +Conflicts: Percona-SQL-server-50 Percona-Server-server-51 Percona-Server-server-55 Percona-Server-server-56 Percona-Server-server-57 Percona-Server-server %if 0%{?systemd} Requires(post): systemd Requires(preun): systemd @@ -211,8 +251,6 @@ Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service %endif -Conflicts: mariadb-connector-c-config - %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. @@ -222,7 +260,9 @@ For a description of GreatSQL see https://greatsql.cn Summary: GreatSQL - Client Group: Applications/Databases Requires: greatsql-shared -Conflicts: Percona-SQL-client-50 Percona-Server-client-51 Percona-Server-client-55 Percona-Server-client-56 Percona-Server-client-57 +Conflicts: mysql mysql-client mysql-community-client +Conflicts: mariadb mariadb-client +Conflicts: Percona-SQL-client-50 Percona-Server-client-51 Percona-Server-client-55 Percona-Server-client-56 Percona-Server-client-57 Percona-Server-client %description -n greatsql-client This package contains the standard GreatSQL client and administration tools. @@ -261,10 +301,9 @@ Requires: perl(Sys::Hostname) Requires: perl(Time::HiRes) Requires: perl(Time::localtime) Requires(pre): greatsql-shared greatsql-client greatsql-server -Conflicts: MySQL-test -Conflicts: mysql-test +Conflicts: mysql-test mysql-community-test Conflicts: mariadb-test -Conflicts: Percona-SQL-test-50 Percona-Server-test-51 Percona-Server-test-55 Percona-Server-test-56 Percona-Server-test-57 +Conflicts: Percona-SQL-test-50 Percona-Server-test-51 Percona-Server-test-55 Percona-Server-test-56 Percona-Server-test-57 Percona-Server-test %description -n greatsql-test This package contains the GreatSQL regression test suite. @@ -274,9 +313,9 @@ For a description of GreatSQL see https://greatsql.cn %package -n greatsql-devel Summary: GreatSQL - Development header files and libraries Group: Applications/Databases -Conflicts: Percona-SQL-devel-50 Percona-Server-devel-51 Percona-Server-devel-55 Percona-Server-devel-56 Percona-Server-devel-57 -Conflicts: mariadb-connector-c-devel -Conflicts: mariadb-devel +Conflicts: mysql-devel mysql-community-devel +Conflicts: mariadb-devel mariadb-connector-c-devel +Conflicts: Percona-SQL-devel-50 Percona-Server-devel-51 Percona-Server-devel-55 Percona-Server-devel-56 Percona-Server-devel-57 Percona-Server-devel %description -n greatsql-devel This package contains the development header files and libraries necessary @@ -287,7 +326,9 @@ For a description of GreatSQL see https://greatsql.cn %package -n greatsql-shared Summary: GreatSQL - Shared libraries Group: Applications/Databases -Conflicts: mysql-libs < %{version}-%{release} +Conflicts: mysql-libs mysql-community-libs mysql-libs < %{version}-%{release} +Conflicts: mariadb-libs +Conflicts: Percona-Server-shared-51 Percona-Server-shared-55 Percona-Server-shared-55 Percona-Server-shared-56 Percona-Server-shared-57 Percona-Server-shared %description -n greatsql-shared This package contains the shared libraries (*.so*) which certain languages @@ -295,24 +336,6 @@ and applications need to dynamically load and use GreatSQL. For a description of GreatSQL see https://greatsql.cn -%if 0%{?compatlib} -%package -n greatsql-shared-compat -Summary: Shared compat libraries for GreatSQL %{compatver}-%{percona_compatver} database client applications -Group: Applications/Databases - -Conflicts: mysql-libs - -Conflicts: Percona-Server-shared-51 -Conflicts: Percona-Server-shared-55 -Conflicts: Percona-Server-shared-55 -Conflicts: Percona-Server-shared-56 -Conflicts: Percona-Server-shared-57 - -%description -n greatsql-shared-compat -This package contains the shared compat libraries for GreatSQL %{compatver}-%{percona_compatver} client -applications. -%endif - %if 0%{?tokudb} %package -n greatsql-tokudb Summary: GreatSQL - TokuDB package @@ -321,6 +344,7 @@ Requires: greatsql-server = %{version}-%{release} Requires: greatsql-shared = %{version}-%{release} Requires: greatsql-client = %{version}-%{release} Requires: jemalloc >= 3.3.0 +Conflicts: Percona-server-tokudb %description -n greatsql-tokudb This package contains the TokuDB plugin for GreatSQL %{version}-%{release} @@ -333,6 +357,7 @@ Group: Applications/Databases Requires: greatsql-server = %{version}-%{release} Requires: greatsql-shared = %{version}-%{release} Requires: greatsql-client = %{version}-%{release} +Conflicts: Percona-server-rocksdb %description -n greatsql-rocksdb This package contains the RocksDB plugin for GreatSQL %{version}-%{release} @@ -345,6 +370,8 @@ Summary: GreatSQL MySQL Router Group: Applications/Databases Provides: greatsql-mysql-router = %{version}-%{release} Obsoletes: greatsql-mysql-router < %{version}-%{release} +Conflicts: mysql-router mysql-router-community +Conflicts: percona-mysql-router %description -n greatsql-mysql-router The GreatSQL MySQL Router software delivers a fast, multi-threaded way of @@ -357,6 +384,7 @@ Summary: Development header files and libraries for GreatSQL MySQL Router Group: Applications/Databases Provides: greatsql-mysql-router-devel = %{version}-%{release} Conflicts: mysql-router-devel +Conflicts: percona-mysql-router-devel %description -n greatsql-mysql-router-devel This package contains the development header files and libraries @@ -364,16 +392,6 @@ necessary to develop GreatSQL MySQL Router applications. For a description of GreatSQL see https://greatsql.cn -%package -n greatsql-mysql-config -Summary: GreatSQL config -Provides: greatsql-mysql-config = %{version}-%{release} -Conflicts: mysql-config - -%description -n greatsql-mysql-config -This package contains my.cnf for GreatSQL. - -For a description of GreatSQL see https://greatsql.cn - %package -n greatsql-icu-data-files Summary: GreatSQL packaging of ICU data files @@ -400,63 +418,6 @@ if [ "x$(id -u)" = "x0" ] ; then fi %endif -# Build debug versions of mysqld and libmysqld.a -mkdir debug -( - cd debug - # Attempt to remove any optimisation flags from the debug build - optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ -Wno-missing-field-initializers -Wno-error /') - optflags=$(echo $optflags | sed -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-hardened-cc1 -specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1/ /') - cmake ../%{src_dir} \ - -DBUILD_CONFIG=mysql_release \ - -DINSTALL_LAYOUT=RPM \ - -DCMAKE_BUILD_TYPE=Debug \ - -DWITH_BOOST=.. \ - -DCMAKE_C_FLAGS="$optflags" \ - -DCMAKE_CXX_FLAGS="$optflags" \ -%if 0%{?systemd} - -DWITH_SYSTEMD=1 \ -%endif - -DWITH_INNODB_MEMCACHED=1 \ - -DINSTALL_LIBDIR="%{_lib}/mysql" \ - -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \ - -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \ - -DINSTALL_MYSQLSHAREDIR=share/greatsql \ - -DINSTALL_SUPPORTFILESDIR=share/greatsql \ - -DFEATURE_SET="%{feature_set}" \ - -DWITH_AUTHENTICATION_LDAP=OFF \ - -DWITH_PAM=1 \ - -DWITH_ROCKSDB=OFF \ - -DWITH_UNIT_TESTS=OFF \ - -DALLOW_NO_SSE42=ON \ - -DROCKSDB_DISABLE_AVX2=1 \ - -DROCKSDB_DISABLE_MARCH_NATIVE=1 \ - -DGROUP_REPLICATION_WITH_ROCKSDB=OFF \ - -DWITH_TOKUDB=0 \ - -DWITH_TOKUDB_BACKUP=OFF \ - -DWITH_INNODB_MEMCACHED=1 \ - -DMYSQL_MAINTAINER_MODE=OFF \ - -DFORCE_INSOURCE_BUILD=1 \ - -DWITH_NUMA=ON \ - -DWITH_LDAP=system \ - -DWITH_SYSTEM_LIBS=ON \ - -DWITH_PROTOBUF=bundled \ - -DWITH_RAPIDJSON=bundled \ - -DWITH_ICU=bundled \ - -DWITH_LZ4=bundled \ - -DWITH_ZLIB=bundled \ - -DWITH_ZSTD=bundled \ - -DWITH_READLINE=system \ - -DWITH_LIBEVENT=bundled \ - -DWITH_KEYRING_VAULT=ON \ - -DWITH_FIDO=bundled \ - -DWITHOUT_RAPID_SECONDARY_STORAGE_ENGINE=1 \ - %{?ssl_option} \ - %{?mecab_option} \ - -DCOMPILATION_COMMENT="%{compilation_comment_debug}" %{TOKUDB_FLAGS} %{TOKUDB_DEBUG_OFF} %{ROCKSDB_FLAGS} - echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/config.h ; echo END_DEBUG_CONFIG - make %{?_smp_mflags} -) # Build full release mkdir release ( @@ -466,8 +427,13 @@ mkdir release -DINSTALL_LAYOUT=RPM \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DWITH_BOOST=.. \ - -DCMAKE_C_FLAGS="$optflags" \ - -DCMAKE_CXX_FLAGS="$optflags" \ + -DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \ + -DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \ + -DCMAKE_EXE_LINKER_FLAGS="-pie %{build_ldflags}" \ + -DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \ + -DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \ + -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" \ + -DCMAKE_SKIP_INSTALL_RPATH=YES \ %if 0%{?systemd} -DWITH_SYSTEMD=1 \ %endif @@ -480,18 +446,23 @@ mkdir release -DFEATURE_SET="%{feature_set}" \ -DWITH_AUTHENTICATION_LDAP=OFF \ -DWITH_PAM=1 \ - -DWITH_TOKUDB=0 \ + -DWITH_TOKUDB=OFF \ -DWITH_TOKUDB_BACKUP=OFF \ + -DWITH_NDB=OFF \ + -DWITH_NDBCLUSTER=OFF \ + -DWITH_NDBCLUSTER_STORAGE_ENGINE=OFF \ + -DWITH_AUTHENTICATION_KERBEROS=ON \ -DWITH_UNIT_TESTS=OFF \ -DWITH_ROCKSDB=OFF \ -DROCKSDB_DISABLE_AVX2=1 \ -DROCKSDB_DISABLE_MARCH_NATIVE=1 \ -DGROUP_REPLICATION_WITH_ROCKSDB=OFF \ -DALLOW_NO_SSE42=ON \ - -DWITH_INNODB_MEMCACHED=1 \ -DMYSQL_MAINTAINER_MODE=OFF \ -DFORCE_INSOURCE_BUILD=1 \ +%ifnarch aarch64 -DWITH_NUMA=ON \ +%endif -DWITH_LDAP=system \ -DWITH_SYSTEM_LIBS=ON \ -DWITH_LZ4=bundled \ @@ -505,8 +476,11 @@ mkdir release -DWITH_KEYRING_VAULT=ON \ -DWITH_FIDO=bundled \ -DWITHOUT_RAPID_SECONDARY_STORAGE_ENGINE=1 \ - %{?ssl_option} \ - %{?mecab_option} \ + -DWITH_SSL=system \ + -DWITH_MECAB=system \ + -DREPRODUCIBLE_BUILD=OFF \ + -DWITH_ROUTER=ON \ + -DENABLED_LOCAL_INFILE=ON \ -DCOMPILATION_COMMENT="%{compilation_comment_release}" %{TOKUDB_FLAGS} %{TOKUDB_DEBUG_OFF} %{ROCKSDB_FLAGS} echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG make %{?_smp_mflags} @@ -552,7 +526,7 @@ echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch} # multiarch support %ifarch %{multiarchs} mv %{buildroot}/%{_bindir}/mysql_config %{buildroot}/%{_bindir}/mysql_config-%{__isa_bits} - install -p -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/mysql_config + install -p -m 0755 %{SOURCE12} %{buildroot}/%{_bindir}/mysql_config %endif %if 0%{?systemd} @@ -564,9 +538,6 @@ install -D -p -m 0755 packaging/rpm-common/mysqlrouter.init %{buildroot}%{_sysco %endif install -D -p -m 0644 packaging/rpm-common/mysqlrouter.conf %{buildroot}%{_sysconfdir}/mysqlrouter/mysqlrouter.conf -# set rpath for plugin to use private/libfido2.so -#patchelf --debug --set-rpath '$ORIGIN/../private' %{buildroot}/%{_libdir}/mysql/plugin/authentication_fido.so - # Remove files pages we explicitly do not want to package rm -rf %{buildroot}%{_infodir}/mysql.info* rm -rf %{buildroot}%{_datadir}/greatsql/mysql.server @@ -580,17 +551,6 @@ rm -rf %{buildroot}/usr/include/kmip.h rm -rf %{buildroot}/usr/include/kmippp.h rm -rf %{buildroot}/usr/lib/libkmip.a rm -rf %{buildroot}/usr/lib/libkmippp.a -#%if 0%{?tokudb} -# rm -f %{buildroot}%{_prefix}/README.md -# rm -f %{buildroot}%{_prefix}/COPYING.GPLv2 -# rm -f %{buildroot}%{_prefix}/PATENTS -#%endif - -# Remove upcoming man pages, to avoid breakage when they materialize -# Keep this comment as a placeholder for future cases -# rm -f %{buildroot}%{_mandir}/man1/.1 - -# Remove removed manpages here until they are removed from the docs repo %check %if 0%{?runselftest} @@ -636,7 +596,7 @@ datadir=$(/usr/bin/my_print_defaults server mysqld | grep '^--datadir=' | sed -n if [ ! -e /var/log/mysqld.log ]; then /usr/bin/install -m0640 -omysql -gmysql /dev/null /var/log/mysqld.log fi -#/bin/touch /var/log/mysqld.log >/dev/null 2>&1 || : + %if 0%{?systemd} %systemd_post mysqld.service if [ $1 == 1 ]; then @@ -713,17 +673,6 @@ fi %postun -n greatsql-shared -#%if 0%{?tokudb} -#%post -n greatsql-tokudb -#if [ $1 -eq 1 ] ; then -# echo -e "\n\n * This release of GreatSQL is distributed with TokuDB storage engine." -# echo -e " * Run the following script to enable the TokuDB storage engine in Percona Server:\n" -# echo -e "\tps-admin --enable-tokudb -u -p[mysql_admin_pass] [-S ] [-h -P ]\n" -# echo -e " * See http://www.percona.com/doc/percona-server/8.0/tokudb/tokudb_installation.html for more installation details\n" -# echo -e " * See http://www.percona.com/doc/percona-server/8.0/tokudb/tokudb_intro.html for an introduction to TokuDB\n\n" -#fi -#%endif -# %if 0%{?rocksdb} %post -n greatsql-rocksdb if [ $1 -eq 1 ] ; then @@ -744,7 +693,7 @@ fi %systemd_post mysqlrouter.service %else /sbin/chkconfig --add mysqlrouter -%endif # systemd +%endif %preun -n greatsql-mysql-router %if 0%{?systemd} @@ -754,7 +703,7 @@ if [ "$1" = 0 ]; then /sbin/service mysqlrouter stop >/dev/null 2>&1 || : /sbin/chkconfig --del mysqlrouter fi -%endif # systemd +%endif %postun -n greatsql-mysql-router /sbin/ldconfig @@ -764,7 +713,7 @@ fi if [ $1 -ge 1 ]; then /sbin/service mysqlrouter condrestart >/dev/null 2>&1 || : fi -%endif # systemd +%endif %files -n greatsql-server @@ -780,18 +729,10 @@ fi %attr(644, root, root) %{_mandir}/man1/myisamlog.1* %attr(644, root, root) %{_mandir}/man1/myisampack.1* %attr(644, root, root) %{_mandir}/man8/mysqld.8* -#%if 0%{?systemd} -#%exclude %{_mandir}/man1/mysqld_multi.1* -#%exclude %{_mandir}/man1/mysqld_safe.1* -#%else -#%attr(644, root, root) %{_mandir}/man1/mysqld_multi.1* -#%attr(644, root, root) %{_mandir}/man1/mysqld_safe.1* -#%endif %attr(644, root, root) %{_mandir}/man1/mysqldumpslow.1* %attr(644, root, root) %{_mandir}/man1/mysql_secure_installation.1* %attr(644, root, root) %{_mandir}/man1/mysql_upgrade.1* %attr(644, root, root) %{_mandir}/man1/mysqlman.1* -#%attr(644, root, root) %{_mandir}/man1/mysql.server.1* %attr(644, root, root) %{_mandir}/man1/mysql_tzinfo_to_sql.1* %attr(644, root, root) %{_mandir}/man1/perror.1* %attr(644, root, root) %{_mandir}/man1/mysql_ssl_rsa_setup.1* @@ -829,7 +770,6 @@ fi %attr(755, root, root) %{_bindir}/mysqld_safe %endif %attr(755, root, root) %{_sbindir}/mysqld -%attr(755, root, root) %{_sbindir}/mysqld-debug %dir %{_libdir}/mysql/private %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf-lite.so.* %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf.so.* @@ -893,87 +833,9 @@ fi %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_host_application_signal.so %attr(755, root, root) %{_libdir}/mysql/plugin/test_udf_wrappers.so %attr(755, root, root) %{_libdir}/mysql/plugin/data_masking* -%dir %{_libdir}/mysql/plugin/debug -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/procfs.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/data_masking.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_kerberos_client.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_simple.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl_client.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_oci_client.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/greatdb_ha.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/group_replication.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_audit_api_message_emit.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_encryption_udf.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_file.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_kmip.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_kms.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_filter_dragnet.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_json.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_rotate.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_syseventlog.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlbackup.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_query_attributes.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_reference_cache.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_audit_api_message.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_component_deinit.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_host_application_signal.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_command_services.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_system_variable_set.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sensitive_system_variables.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_reader.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_table_access.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_services.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_validate_password.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/conflicting_variables.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/connection_control.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ddl_rewriter.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_example.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_mock.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_file.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_udf.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/innodb_engine.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libmemcached.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/locking_service.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/mypluglib.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_clone.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_no_login.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewrite_example.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewriter.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_master.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_slave.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_replica.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_source.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/validate_password.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/version_token.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_command_services.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_host_application_signal.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/binlog_utils_udf.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_wrappers.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_reference_cache.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_kerberos_client.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_oci_client.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_encryption_udf.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_kmip.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_kms.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_command_services.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_system_variable_set.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sensitive_system_variables.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_reader.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_table_access.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/conflicting_variables.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/greatdb_ha.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_replica.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_source.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_command_services.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/debug/tokudb_backup.so %if 0%{?mecab} %{_libdir}/mysql/mecab %attr(755, root, root) %{_libdir}/mysql/plugin/libpluginmecab.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libpluginmecab.so %endif #coredumper %attr(755, root, root) %{_includedir}/coredumper/coredumper.h @@ -981,45 +843,14 @@ fi # Percona plugins %attr(755, root, root) %{_libdir}/mysql/plugin/audit_log.so %attr(755, root, root) %{_libdir}/mysql/plugin/audit_login_messages.so -#%attr(644, root, root) %{_datadir}/mysql-*/audit_log_filter_linux_install.sql -#%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_simple.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/keyring_okv.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/keyring_encrypted_file.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/mysql_clone.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/openssl_udf.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/firewall.so -#%attr(644, root, root) %{_datadir}/mysql-*/linux_install_firewall.sql -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/audit_log.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/audit_login_messages.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/scalability_metrics.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/debug/scalability_metrics.so %attr(755, root, root) %{_libdir}/mysql/plugin/auth_pam.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_pam.so %attr(755, root, root) %{_libdir}/mysql/plugin/auth_pam_compat.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_pam_compat.so %attr(755, root, root) %{_libdir}/mysql/plugin/libfnv1a_udf.* -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libfnv1a_udf.* %attr(755, root, root) %{_libdir}/mysql/plugin/libfnv_udf.* -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libfnv_udf.* %attr(755, root, root) %{_libdir}/mysql/plugin/libmurmur_udf.* -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libmurmur_udf.* %attr(755, root, root) %{_libdir}/mysql/plugin/dialog.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/dialog.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/query_response_time.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/debug/query_response_time.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_vault.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_vault.so -# -#%attr(644, root, root) %{_datadir}/greatsql/fill_help_tables.sql -#%attr(644, root, root) %{_datadir}/greatsql/mysql_sys_schema.sql -#%attr(644, root, root) %{_datadir}/greatsql/mysql_system_tables.sql -#%attr(644, root, root) %{_datadir}/greatsql/mysql_system_tables_data.sql -#%attr(644, root, root) %{_datadir}/greatsql/mysql_test_data_timezone.sql %attr(644, root, root) %{_datadir}/greatsql/mysql-log-rotate -#%attr(644, root, root) %{_datadir}/greatsql/mysql_security_commands.sql %attr(644, root, root) %{_datadir}/greatsql/dictionary.txt %attr(644, root, root) %{_datadir}/greatsql/innodb_memcached_config.sql %attr(644, root, root) %{_datadir}/greatsql/install_rewriter.sql @@ -1068,7 +899,6 @@ fi %attr(755, root, root) %{_datadir}/greatsql/spanish/ %attr(755, root, root) %{_datadir}/greatsql/swedish/ %attr(755, root, root) %{_datadir}/greatsql/ukrainian/ -#%attr(755, root, root) %{_datadir}/greatsql/mysql_system_users.sql %files -n greatsql-client %defattr(-, root, root, -) @@ -1121,16 +951,6 @@ fi %attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf %{_libdir}/mysql/lib%{shared_lib_pri_name}.so.21* -#%if 0%{?compatlib} -#%files -n greatsql-shared-compat -#%defattr(-, root, root, -) -#%doc %{?license_files_server} -#%dir %attr(755, root, root) %{_libdir}/mysql -#%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf -#%{_libdir}/mysql/libmysqlclient.so.%{compatlib}.* -#%{_libdir}/mysql/libmysqlclient_r.so.%{compatlib}.* -#%endif - %files -n greatsql-test %defattr(-, root, root, -) %doc %{?license_files_server} @@ -1213,97 +1033,11 @@ fi %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlx_global_reset.so %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_runtime_error.so %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_reset_connection.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_runtime_error.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_reset_connection.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component1.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component2.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component3.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_test.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_backup_lock_service.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_charset.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_long.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example_component_population.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/pfs_example_plugin_employee.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_notification.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_resource_group.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_registration.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_current_thread_reader.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_3_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_avg_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_same_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_only_3_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_real_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_3_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_int_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_real_func.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_int.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_same.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_str.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_int.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_reg_only.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_str.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_unreg_only.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_system_variable_source.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/replication_observers_example_plugin.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_framework.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services_threaded.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_detach.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_attach.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_in_thd.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_info.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_2_sessions.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_all_col_types.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_cmds_1.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_commit.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_complex.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_errors.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_lock.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_processlist.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_replication.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_shutdown.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stmt.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sqlmode.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stored_procedures_functions.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_views_triggers.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_deinit.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_init.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_security_context.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_plugin_registry.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_services.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/udf_example.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlx_global_reset.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sleep_is_connected.so - -#%if 0%{?tokudb} -#%files -n percona-server-tokudb -#%attr(-, root, root) -#%{_bindir}/tokuftdump -#%{_libdir}/mysql/plugin/ha_tokudb.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_tokudb.so -#%attr(755, root, root) %{_bindir}/tokuft_logprint -#%attr(755, root, root) %{_libdir}/mysql/plugin/tokudb_backup.so -#%attr(755, root, root) %{_libdir}/mysql/plugin/debug/tokudb_backup.so -#%attr(755, root, root) %{_libdir}/mysql/libHotBackup.so -#%{_includedir}/backup.h -#%endif %if 0%{?rocksdb} %files -n greatsql-rocksdb %attr(-, root, root) %{_libdir}/mysql/plugin/ha_rocksdb.so -%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_rocksdb.so %attr(755, root, root) %{_bindir}/ldb %attr(755, root, root) %{_bindir}/mysql_ldb %attr(755, root, root) %{_bindir}/sst_dump @@ -1348,6 +1082,21 @@ fi %{_libdir}/mysql/private/icudt69l/brkitr %changelog +* 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 + +* Tue Apr 1 2025 GreatSQL - 8.0.32-27.4 +- Remove greatsql-mysql-config, greatsql-shared-compat +- Clearly declare the conflicts list + +* Fri Mar 28 2025 Funda Wang - 8.0.32-27.3 +- fix requires_exclude + +* Mon Mar 24 2025 GreatSQL - 8.0.32-27.2 +- Remove debug build stage +- Add some new cmake options + * Mon Mar 10 2025 GreatSQL - 8.0.32-27.1 - Release GreatSQL-8.0.32-27.1 -- Gitee