From 67045fdc463993d716121f399817b861922ab42c Mon Sep 17 00:00:00 2001 From: Ye Jinrong Date: Mon, 24 Mar 2025 15:15:24 +0800 Subject: [PATCH] Remove debug build stage and add some new cmake options --- greatsql.spec | 289 ++++++++++++-------------------------------------- 1 file changed, 68 insertions(+), 221 deletions(-) diff --git a/greatsql.spec b/greatsql.spec index bb81517..c64f0d4 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 2 %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,13 +104,15 @@ 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 +%ifarch riscv64 Patch1: add-riscv64-support.patch +%endif BuildRequires: cmake >= 2.8.2 BuildRequires: make BuildRequires: gcc @@ -149,13 +151,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,6 +181,31 @@ 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) # For rpm => 4.9 only: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering @@ -386,7 +421,9 @@ 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 @@ -400,63 +437,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 +446,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 +465,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 +495,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 +545,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} @@ -744,7 +737,7 @@ fi %systemd_post mysqlrouter.service %else /sbin/chkconfig --add mysqlrouter -%endif # systemd +%endif %preun -n greatsql-mysql-router %if 0%{?systemd} @@ -754,7 +747,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 +757,7 @@ fi if [ $1 -ge 1 ]; then /sbin/service mysqlrouter condrestart >/dev/null 2>&1 || : fi -%endif # systemd +%endif %files -n greatsql-server @@ -829,7 +822,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,69 +885,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 %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 @@ -965,35 +897,21 @@ fi %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 @@ -1195,88 +1113,14 @@ 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 @@ -1285,7 +1129,6 @@ fi %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 @@ -1330,6 +1173,10 @@ fi %{_libdir}/mysql/private/icudt69l/brkitr %changelog +* 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