GreatSQL社区

搜索

[讨论中] openEuler-24.03-LTS-SP1编译GreatSQL-8.0.32-26报错

119 12 2025-1-3 15:48
全部回复(12)
yejr 2025-1-6 17:00:03
alexyj 发表于 2025-1-6 16:16
我把系统支持的perl模块都安装了,dnf install perl*,重新编译后,还是同样的报错 ...

下面是我在同样openEuler 24.03 SP1环境下安装的perl包,请核对确认是否有缺失

perl-Getopt-Long-2.57-1.oe2403sp1.noarch
perl-Exporter-5.77-1.oe2403sp1.noarch
perl-libs-5.38.0-8.oe2403sp1.x86_64
perl-Carp-1.50-419.oe2403sp1.noarch
perl-Scalar-List-Utils-1.63-1.oe2403sp1.x86_64
perl-MIME-Base64-3.16-2.oe2403sp1.x86_64
perl-parent-0.241-1.oe2403sp1.noarch
perl-Text-ParseWords-3.30-420.oe2403sp1.noarch
perl-Time-HiRes-1.9775-1.oe2403sp1.x86_64
perl-Term-ANSIColor-5.01-2.oe2403sp1.noarch
perl-Digest-1.20-3.oe2403sp1.noarch
perl-Digest-MD5-2.58-2.oe2403sp1.x86_64
perl-Pod-Escapes-1.07_01-1.oe2403sp1.noarch
perl-PerlIO-via-QuotedPrint-0.10-1.oe2403sp1.noarch
perl-Perl-OSType-1.010-422.oe2403sp1.noarch
perl-perlfaq-5.20230812-1.oe2403sp1.noarch
perl-Algorithm-Diff-1.201-2.oe2403sp1.noarch
perl-B-Debug-1.26-6.oe2403sp1.noarch
perl-CPAN-Meta-YAML-0.018-421.oe2403sp1.noarch
perl-Config-Perl-V-0.36-1.oe2403sp1.noarch
perl-Devel-PPPort-3.71-1.oe2403sp1.x86_64
perl-Env-1.04-398.oe2403sp1.noarch
perl-IPC-SysV-2.09-2.oe2403sp1.x86_64
perl-Locale-Maketext-1.33-1.oe2403sp1.noarch
perl-Params-Check-0.38-420.oe2403sp1.noarch
perl-Net-SSLeay-1.94-1.oe2403sp1.x86_64
perl-Socket-2.037-1.oe2403sp1.x86_64
perl-Storable-3.25-3.oe2403sp1.x86_64
perl-Term-Cap-1.18-1.oe2403sp1.noarch
perl-Text-Balanced-2.06-1.oe2403sp1.noarch
perl-Text-Tabs+Wrap-2023.0511-1.oe2403sp1.noarch
perl-Unicode-Normalize-1.32-1.oe2403sp1.x86_64
perl-Compress-Raw-Bzip2-2.206-1.oe2403sp1.x86_64
perl-Compress-Raw-Zlib-2.206-1.oe2403sp1.x86_64
perl-Data-Dumper-2.183-2.oe2403sp1.x86_64
perl-IO-Socket-IP-0.42-1.oe2403sp1.noarch
perl-IPC-System-Simple-1.30-3.oe2403sp1.noarch
perl-Locale-Codes-3.77-1.oe2403sp1.noarch
perl-Math-BigInt-FastCalc-0.5018-1.oe2403sp1.x86_64
perl-Math-BigInt-2.0030.02-1.oe2403sp1.noarch
perl-ExtUtils-Command-7.70-2.oe2403sp1.noarch
perl-ExtUtils-Manifest-1.75-1.oe2403sp1.noarch
perl-File-Path-2.18-2.oe2403sp1.noarch
perl-File-Temp-0.2311-3.oe2403sp1.noarch
perl-Module-Load-0.36-2.oe2403sp1.noarch
perl-Mozilla-CA-20231213-1.oe2403sp1.noarch
perl-PathTools-3.89-1.oe2403sp1.x86_64
perl-Sys-Syslog-0.36-2.oe2403sp1.x86_64
perl-Text-Diff-1.45-8.oe2403sp1.noarch
perl-Time-Local-1.350-1.oe2403sp1.noarch
perl-Unicode-Collate-1.31-3.oe2403sp1.x86_64
perl-autodie-2.36-1.oe2403sp1.noarch
perl-bignum-0.66-1.oe2403sp1.noarch
perl-constant-1.33-423.oe2403sp1.noarch
perl-Digest-SHA-6.04-1.oe2403sp1.x86_64
perl-Encode-Locale-1.05-14.oe2403sp1.noarch
perl-HTTP-Tiny-0.088-1.oe2403sp1.noarch
perl-libnet-3.15-1.oe2403sp1.noarch
perl-IO-Socket-SSL-2.084-1.oe2403sp1.noarch
perl-URI-5.10-2.oe2403sp1.noarch
perl-Encode-3.21-1.oe2403sp1.x86_64
perl-ExtUtils-ParseXS-3.51-1.oe2403sp1.noarch
perl-Archive-Tar-3.02-1.oe2403sp1.noarch
perl-IO-Compress-2.206-1.oe2403sp1.noarch
perl-JSON-PP-4.16-1.oe2403sp1.noarch
perl-Pod-Perldoc-3.28-5.oe2403sp1.noarch
perl-Pod-Simple-3.45-1.oe2403sp1.noarch
perl-Test-Harness-3.48-1.oe2403sp1.noarch
perl-Pod-Checker-1.75-1.oe2403sp1.noarch
perl-Pod-Parser-1.66-1.oe2403sp1.noarch
perl-Pod-Usage-2.03-2.oe2403sp1.noarch
perl-podlators-5.01-2.oe2403sp1.noarch
perl-threads-2.36-2.oe2403sp1.x86_64
perl-Test-Simple-1.302198-1.oe2403sp1.noarch
perl-Thread-Queue-3.13-4.oe2403sp1.noarch
perl-threads-shared-1.62-2.oe2403sp1.x86_64
perl-CPAN-Meta-2.150010-421.oe2403sp1.noarch
perl-Encode-devel-3.21-1.oe2403sp1.x86_64
perl-devel-5.38.0-8.oe2403sp1.x86_64
perl-ExtUtils-Install-2.22-1.oe2403sp1.noarch
perl-ExtUtils-MakeMaker-7.70-2.oe2403sp1.noarch
perl-CPAN-Meta-Requirements-2.143-2.oe2403sp1.noarch
perl-Module-CoreList-5.20231230-1.oe2403sp1.noarch
perl-File-Fetch-1.04-1.oe2403sp1.noarch
perl-IPC-Cmd-1.04-4.oe2403sp1.noarch
perl-Module-Load-Conditional-0.74-2.oe2403sp1.noarch
perl-Module-Metadata-1.000038-1.oe2403sp1.noarch
perl-experimental-0.031-2.oe2403sp1.noarch
perl-version-0.99.30-1.oe2403sp1.x86_64
perl-5.38.0-8.oe2403sp1.x86_64
perl-Filter-1.64-1.oe2403sp1.x86_64
perl-Filter-Simple-0.94-2.oe2403sp1.noarch
perl-JSON-4.10-1.oe2403sp1.noarch
alexyj 2025-1-6 17:21:13
yejr 发表于 2025-1-6 17:00
下面是我在同样openEuler 24.03 SP1环境下安装的perl包,请核对确认是否有缺失

perl-Getopt-Long-2.57-1 ...

我核对了,包都没问题,但是之前提问题时弄错系统版本了,openEuler-24.03-LTS没有sp1,应该不影响,会不会是我的greatsql.spec有问题呢?又或者我用的软件包有问题?我用的软件包:greatsql-8.0.32-26和boost_1_77_0,greatsql.spec如下:



  1. # Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
  2. # Copyright (c) 2023, GreatDB Software Co., Ltd.
  3. #
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; version 2 of the License.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; see the file COPYING. If not, write to the
  15. # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston
  16. # MA  02110-1301  USA.

  17. # Rebuild on OL5/RHEL5 needs following rpmbuild options:
  18. #  rpmbuild --define 'dist .el5' --define 'rhel 5' --define 'el5 1' mysql.spec

  19. # Install cmake28 from EPEL when building on OL5/RHEL5 and OL6/RHEL6.

  20. # NOTE: "vendor" is used in upgrade/downgrade check, so you can't
  21. # change these, has to be exactly as is.

  22. %undefine _missing_build_ids_terminate_build
  23. %global mysql_vendor Oracle and/or its affiliates
  24. %global greatsql_vendor GreatDB Software Co., Ltd.
  25. %global mysqldatadir /var/lib/mysql

  26. %global mysql_version 8.0.32
  27. %global greatsql_version 26
  28. %global revision a68b3034c3d
  29. %global tokudb_backup_version %{mysql_version}-%{greatsql_version}
  30. %global rpm_release 2

  31. %global release %{greatsql_version}.%{rpm_release}%{?dist}

  32. # By default, a build will be done using the system SSL library
  33. %{?with_ssl: %global ssl_option -DWITH_SSL=%{with_ssl}}
  34. %{!?with_ssl: %global ssl_option -DWITH_SSL=system}

  35. # By default a build will be done including the TokuDB
  36. %{!?with_tokudb: %global tokudb 0}

  37. # By default a build will be done including the RocksDB
  38. %{!?with_rocksdb: %global rocksdb 0}

  39. # Pass path to mecab lib
  40. %{?with_mecab: %global mecab_option -DWITH_MECAB=%{with_mecab}}
  41. %{?with_mecab: %global mecab 1}

  42. # Regression tests may take a long time, override the default to skip them
  43. %{!?runselftest:%global runselftest 0}

  44. %{!?with_systemd:                %global systemd 0}
  45. %global systemd 1
  46. %{!?with_debuginfo:              %global nodebuginfo 0}
  47. %{!?product_suffix:              %global product_suffix -80}
  48. %{!?feature_set:                 %global feature_set community}
  49. %{!?compilation_comment_release: %global compilation_comment_release GreatSQL (GPL), Release %{greatsql_version}, Revision %{revision}}
  50. %{!?compilation_comment_debug:   %global compilation_comment_debug GreatSQL - Debug (GPL), Release %{greatsql_version}, Revision %{revision}}
  51. %{!?src_base:                    %global src_base greatsql}

  52. # Setup cmake flags for TokuDB
  53. %if 0%{?tokudb}
  54.   %global TOKUDB_FLAGS -DWITH_VALGRIND=OFF -DUSE_VALGRIND=OFF -DDEBUG_EXTNAME=OFF -DBUILD_TESTING=OFF -DUSE_GTAGS=OFF -DUSE_CTAGS=OFF -DUSE_ETAGS=OFF -DUSE_CSCOPE=OFF -DTOKUDB_BACKUP_PLUGIN_VERSION=%{tokudb_backup_version}
  55.   %global TOKUDB_DEBUG_ON -DTOKU_DEBUG_PARANOID=ON
  56.   %global TOKUDB_DEBUG_OFF -DTOKU_DEBUG_PARANOID=OFF
  57. %else
  58.   %global TOKUDB_FLAGS -DWITHOUT_TOKUDB=1
  59.   %global TOKUDB_DEBUG_ON %{nil}
  60.   %global TOKUDB_DEBUG_OFF %{nil}
  61. %endif

  62. # Setup cmake flags for RocksDB
  63. %if 0%{?rocksdb}
  64.   %global ROCKSDB_FLAGS -DWITH_ROCKSDB=0
  65. %else
  66.   %global ROCKSDB_FLAGS -DWITH_ROCKSDB=0
  67. %endif

  68. %global shared_lib_pri_name mysqlclient
  69. %global shared_lib_sec_name perconaserverclient

  70. # multiarch
  71. %global multiarchs            ppc %{power64} %{ix86} x86_64 %{sparc} %{arm} aarch64 loongarch64

  72. %global src_dir               %{src_base}-%{mysql_version}-%{greatsql_version}

  73. # We build debuginfo package so this is not used
  74. %if 0%{?nodebuginfo}
  75. %global _enable_debug_package 0
  76. %global debug_package         %{nil}
  77. %global __os_install_post     /usr/lib/rpm/brp-compress %{nil}
  78. %endif

  79. %global license_files_server  %{src_dir}/README.md
  80. %global license_type          GPLv2

  81. Name:           greatsql
  82. Summary:        GreatSQL: a high performance, highly reliable, easy to use, and high security database
  83. Group:          Applications/Databases
  84. Version:        %{mysql_version}
  85. Release:        %{release}
  86. 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
  87. SOURCE0:        greatsql-8.0.32-26.tar.xz
  88. URL:            [url=https://greatsql.cn]https://greatsql.cn[/url]
  89. SOURCE5:        mysql_config.sh
  90. SOURCE10:       boost_1_77_0.tar.gz
  91. SOURCE90:       filter-provides.sh
  92. SOURCE91:       filter-requires.sh
  93. SOURCE11:       mysqld.cnf
  94. Patch0:         mysql-5.7-sharedlib-rename.patch
  95. BuildRequires:  cmake >= 2.8.2
  96. BuildRequires:  make
  97. BuildRequires:  gcc
  98. BuildRequires:  gcc-c++
  99. BuildRequires:  perl
  100. BuildRequires:  perl(Carp)
  101. BuildRequires:  perl(Config)
  102. BuildRequires:  perl(Cwd)
  103. BuildRequires:  perl(Data::Dumper)
  104. BuildRequires:  perl(English)
  105. BuildRequires:  perl(Errno)
  106. BuildRequires:  perl(Exporter)
  107. BuildRequires:  perl(Fcntl)
  108. BuildRequires:  perl(File::Basename)
  109. BuildRequires:  perl(File::Copy)
  110. BuildRequires:  perl(File::Find)
  111. BuildRequires:  perl(File::Path)
  112. BuildRequires:  perl(File::Spec)
  113. BuildRequires:  perl(File::Spec::Functions)
  114. BuildRequires:  perl(File::Temp)
  115. BuildRequires:  perl(Getopt::Long)
  116. BuildRequires:  perl(IO::File)
  117. BuildRequires:  perl(IO::Handle)
  118. BuildRequires:  perl(IO::Pipe)
  119. BuildRequires:  perl(IO::Select)
  120. BuildRequires:  perl(IO::Socket)
  121. BuildRequires:  perl(IO::Socket::INET)
  122. BuildRequires:  perl(JSON)
  123. BuildRequires:  perl(Memoize)
  124. BuildRequires:  perl(POSIX)
  125. BuildRequires:  perl(Sys::Hostname)
  126. BuildRequires:  perl(Time::HiRes)
  127. BuildRequires:  perl(Time::localtime)
  128. BuildRequires:  time
  129. BuildRequires:  libaio-devel
  130. BuildRequires:  ncurses-devel
  131. BuildRequires:  pam-devel
  132. BuildRequires:  readline-devel
  133. BuildRequires:  numactl-devel
  134. BuildRequires:  openssl
  135. BuildRequires:  openssl-devel
  136. BuildRequires:  zlib-devel
  137. BuildRequires:  bison
  138. BuildRequires:  openldap-devel
  139. BuildRequires:  libcurl-devel
  140. %if 0%{?systemd}
  141. BuildRequires:  systemd
  142. BuildRequires:  pkgconfig(systemd)
  143. %endif
  144. BuildRequires:  cyrus-sasl-devel
  145. BuildRequires:  openldap-devel

  146. BuildRequires:  cmake >= 3.6.1
  147. BuildRequires:  gcc
  148. BuildRequires:  gcc-c++
  149. BuildRequires:  libtirpc-devel
  150. BuildRequires:  rpcgen
  151. BuildRequires:  m4
  152. BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

  153. # For rpm => 4.9 only: [url=https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering]https://fedoraproject.org/wiki/P ... ndRequiresFiltering[/url]
  154. %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)
  155. %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*)$

  156. %global _privatelibs lib(protobuf|mysqlclient|mysqlharness|mysqlrouter|mysqlclient|daemon|fnv|memcached|murmur|test)*\\.so*
  157. %global __provides_exclude %{_privatelibs}
  158. %global __requires_exclude %{_privatelibs}

  159. %description
  160. 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.

  161. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  162. %package -n greatsql-server
  163. Summary:        GreatSQL: a high performance, highly reliable, easy to use, and high security database that can be used to replace MySQL or Percona Server.
  164. Group:          Applications/Databases
  165. Requires:       coreutils
  166. Requires:       bash /bin/sh
  167. Requires:       grep
  168. Requires:       procps
  169. Requires:       shadow-utils
  170. Requires:       net-tools
  171. Requires(pre):  greatsql-shared
  172. Requires:       greatsql-client
  173. Requires:       greatsql-icu-data-files
  174. Requires:       openssl
  175. Conflicts:      Percona-SQL-server-50 Percona-Server-server-51 Percona-Server-server-55 Percona-Server-server-56 Percona-Server-server-57

  176. %if 0%{?systemd}
  177. Requires(post):   systemd
  178. Requires(preun):  systemd
  179. Requires(postun): systemd
  180. %else
  181. Requires(post):   /sbin/chkconfig
  182. Requires(preun):  /sbin/chkconfig
  183. Requires(preun):  /sbin/service
  184. %endif

  185. Obsoletes:      mariadb-connector-c-config

  186. %description -n greatsql-server
  187. GreatSQL: a high performance, highly reliable, easy to use, and high security database that can be used to replace MySQL or Percona Server.

  188. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  189. %package -n greatsql-client
  190. Summary:        GreatSQL - Client
  191. Group:          Applications/Databases
  192. Requires:       greatsql-shared
  193. Conflicts:      Percona-SQL-client-50 Percona-Server-client-51 Percona-Server-client-55 Percona-Server-client-56 Percona-Server-client-57

  194. %description -n greatsql-client
  195. This package contains the standard GreatSQL client and administration tools.

  196. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  197. %package -n greatsql-test
  198. Summary:        Test suite for the GreatSQL
  199. Group:          Applications/Databases
  200. Requires:       perl(Carp)
  201. Requires:       perl(Config)
  202. Requires:       perl(Cwd)
  203. Requires:       perl(Data::Dumper)
  204. Requires:       perl(English)
  205. Requires:       perl(Errno)
  206. Requires:       perl(Exporter)
  207. Requires:       perl(Fcntl)
  208. Requires:       perl(File::Basename)
  209. Requires:       perl(File::Copy)
  210. Requires:       perl(File::Find)
  211. Requires:       perl(File::Path)
  212. Requires:       perl(File::Spec)
  213. Requires:       perl(File::Spec::Functions)
  214. Requires:       perl(File::Temp)
  215. Requires:       perl(Getopt::Long)
  216. Requires:       perl(IO::File)
  217. Requires:       perl(IO::Handle)
  218. Requires:       perl(IO::Pipe)
  219. Requires:       perl(IO::Select)
  220. Requires:       perl(IO::Socket)
  221. Requires:       perl(IO::Socket::INET)
  222. Requires:       perl(JSON)
  223. Requires:       perl(Memoize)
  224. Requires:       perl(POSIX)
  225. Requires:       perl(Sys::Hostname)
  226. Requires:       perl(Time::HiRes)
  227. Requires:       perl(Time::localtime)
  228. Requires(pre):  greatsql-shared greatsql-client greatsql-server
  229. Obsoletes:      MySQL-test < %{version}-%{release}
  230. Obsoletes:      mysql-test < %{version}-%{release}
  231. Obsoletes:      mariadb-test
  232. Conflicts:      Percona-SQL-test-50 Percona-Server-test-51 Percona-Server-test-55 Percona-Server-test-56 Percona-Server-test-57

  233. %description -n greatsql-test
  234. This package contains the GreatSQL regression test suite.

  235. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  236. %package -n greatsql-devel
  237. Summary:        GreatSQL - Development header files and libraries
  238. Group:          Applications/Databases
  239. Conflicts:      Percona-SQL-devel-50 Percona-Server-devel-51 Percona-Server-devel-55 Percona-Server-devel-56 Percona-Server-devel-57
  240. Obsoletes:      mariadb-connector-c-devel
  241. Obsoletes:      mariadb-devel

  242. %description -n greatsql-devel
  243. This package contains the development header files and libraries necessary
  244. to develop GreatSQL client applications.

  245. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  246. %package -n greatsql-shared
  247. Summary:        GreatSQL - Shared libraries
  248. Group:          Applications/Databases
  249. Obsoletes:      mysql-libs < %{version}-%{release}

  250. %description -n greatsql-shared
  251. This package contains the shared libraries (*.so*) which certain languages
  252. and applications need to dynamically load and use GreatSQL.

  253. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  254. %if 0%{?compatlib}
  255. %package -n greatsql-shared-compat
  256. Summary:        Shared compat libraries for GreatSQL %{compatver}-%{percona_compatver} database client applications
  257. Group:          Applications/Databases

  258. Obsoletes:      mysql-libs

  259. Conflicts:      Percona-Server-shared-51
  260. Conflicts:      Percona-Server-shared-55
  261. Conflicts:      Percona-Server-shared-55
  262. Conflicts:      Percona-Server-shared-56
  263. Conflicts:      Percona-Server-shared-57

  264. %description -n greatsql-shared-compat
  265. This package contains the shared compat libraries for GreatSQL %{compatver}-%{percona_compatver} client
  266. applications.
  267. %endif

  268. %if 0%{?tokudb}
  269. %package -n greatsql-tokudb
  270. Summary:        GreatSQL - TokuDB package
  271. Group:          Applications/Databases
  272. Requires:       greatsql-server = %{version}-%{release}
  273. Requires:       greatsql-shared = %{version}-%{release}
  274. Requires:       greatsql-client = %{version}-%{release}
  275. Requires:       jemalloc >= 3.3.0

  276. %description -n greatsql-tokudb
  277. This package contains the TokuDB plugin for GreatSQL %{version}-%{release}
  278. %endif

  279. %if 0%{?rocksdb}
  280. %package -n greatsql-rocksdb
  281. Summary:        GreatSQL - RocksDB package
  282. Group:          Applications/Databases
  283. Requires:       greatsql-server = %{version}-%{release}
  284. Requires:       greatsql-shared = %{version}-%{release}
  285. Requires:       greatsql-client = %{version}-%{release}

  286. %description -n greatsql-rocksdb
  287. This package contains the RocksDB plugin for GreatSQL %{version}-%{release}

  288. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]
  289. %endif

  290. %package  -n   greatsql-mysql-router
  291. Summary:       GreatSQL MySQL Router
  292. Group:         Applications/Databases
  293. Provides:      greatsql-mysql-router = %{version}-%{release}
  294. Obsoletes:     greatsql-mysql-router < %{version}-%{release}

  295. %description -n greatsql-mysql-router
  296. The GreatSQL MySQL Router software delivers a fast, multi-threaded way of
  297. routing connections from GreatSQL Clients to GreatSQL Servers.

  298. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  299. %package   -n   greatsql-mysql-router-devel
  300. Summary:        Development header files and libraries for GreatSQL MySQL Router
  301. Group:          Applications/Databases
  302. Provides:       greatsql-mysql-router-devel = %{version}-%{release}
  303. Obsoletes:      mysql-router-devel

  304. %description -n greatsql-mysql-router-devel
  305. This package contains the development header files and libraries
  306. necessary to develop GreatSQL MySQL Router applications.

  307. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  308. %package   -n   greatsql-mysql-config
  309. Summary:        GreatSQL config
  310. Provides:       greatsql-mysql-config = %{version}-%{release}
  311. Conflicts:      mysql-config

  312. %description -n greatsql-mysql-config
  313. This package contains my.cnf for GreatSQL.

  314. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  315. %package   -n   greatsql-icu-data-files
  316. Summary:        GreatSQL packaging of ICU data files

  317. %description -n greatsql-icu-data-files
  318. This package contains ICU data files needer by GreatSQL regular expressions.

  319. For a description of GreatSQL see [url=https://greatsql.cn]https://greatsql.cn[/url]

  320. %prep
  321. %setup -q -T -a 0 -a 10 -c -n %{src_dir}
  322. pushd %{src_dir}
  323. %patch0 -p0
  324. cp %{SOURCE11} scripts

  325. %build
  326. # Fail quickly and obviously if user tries to build as root
  327. %if 0%{?runselftest}
  328. if [ "x$(id -u)" = "x0" ] ; then
  329.    echo "The MySQL regression tests may fail if run as root."
  330.    echo "If you really need to build the RPM as root, use"
  331.    echo "--define='runselftest 0' to skip the regression tests."
  332.    exit 1
  333. fi
  334. %endif

  335. # Build debug versions of mysqld and libmysqld.a
  336. mkdir debug
  337. (
  338.   cd debug
  339.   # Attempt to remove any optimisation flags from the debug build
  340.   optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ -Wno-missing-field-initializers -Wno-error /')
  341.   optflags=$(echo $optflags | sed -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-hardened-cc1 -specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1/ /')
  342.   cmake ../%{src_dir} \
  343.            -DBUILD_CONFIG=mysql_release \
  344.            -DINSTALL_LAYOUT=RPM \
  345.            -DCMAKE_BUILD_TYPE=Debug \
  346.            -DWITH_BOOST=.. \
  347.            -DCMAKE_C_FLAGS="$optflags" \
  348.            -DCMAKE_CXX_FLAGS="$optflags" \
  349. %if 0%{?systemd}
  350.            -DWITH_SYSTEMD=1 \
  351. %endif
  352.            -DWITH_INNODB_MEMCACHED=1 \
  353.            -DINSTALL_LIBDIR="%{_lib}/mysql" \
  354.            -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
  355.            -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
  356.            -DINSTALL_MYSQLSHAREDIR=share/greatsql \
  357.            -DINSTALL_SUPPORTFILESDIR=share/greatsql \
  358.            -DFEATURE_SET="%{feature_set}" \
  359.            -DWITH_AUTHENTICATION_LDAP=OFF \
  360.            -DWITH_PAM=1 \
  361.            -DWITH_ROCKSDB=OFF \
  362.            -DWITH_UNIT_TESTS=OFF \
  363.            -DALLOW_NO_SSE42=ON \
  364.            -DROCKSDB_DISABLE_AVX2=1 \
  365.            -DROCKSDB_DISABLE_MARCH_NATIVE=1 \
  366.            -DGROUP_REPLICATION_WITH_ROCKSDB=OFF \
  367.            -DWITH_TOKUDB=0 \
  368.            -DWITH_TOKUDB_BACKUP=OFF \
  369.            -DWITH_INNODB_MEMCACHED=1 \
  370.            -DMYSQL_MAINTAINER_MODE=OFF \
  371.            -DFORCE_INSOURCE_BUILD=1 \
  372.            -DWITH_NUMA=ON \
  373.            -DWITH_LDAP=system \
  374.            -DWITH_SYSTEM_LIBS=ON \
  375.            -DWITH_PROTOBUF=bundled \
  376.            -DWITH_RAPIDJSON=bundled \
  377.            -DWITH_ICU=bundled \
  378.            -DWITH_LZ4=bundled \
  379.            -DWITH_ZLIB=bundled \
  380.            -DWITH_ZSTD=bundled \
  381.            -DWITH_READLINE=system \
  382.            -DWITH_LIBEVENT=bundled \
  383.            -DWITH_KEYRING_VAULT=ON \
  384.            -DWITH_FIDO=bundled \
  385.            -DWITHOUT_RAPID_SECONDARY_STORAGE_ENGINE=1 \
  386.            %{?ssl_option} \
  387.            %{?mecab_option} \
  388.            -DCOMPILATION_COMMENT="%{compilation_comment_debug}" %{TOKUDB_FLAGS} %{TOKUDB_DEBUG_OFF} %{ROCKSDB_FLAGS}
  389.   echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/config.h ; echo END_DEBUG_CONFIG
  390.   make %{?_smp_mflags}
  391. )
  392. # Build full release
  393. mkdir release
  394. (
  395.   cd release
  396.   cmake ../%{src_dir} \
  397.            -DBUILD_CONFIG=mysql_release \
  398.            -DINSTALL_LAYOUT=RPM \
  399.            -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  400.            -DWITH_BOOST=.. \
  401.            -DCMAKE_C_FLAGS="$optflags" \
  402.            -DCMAKE_CXX_FLAGS="$optflags" \
  403. %if 0%{?systemd}
  404.            -DWITH_SYSTEMD=1 \
  405. %endif
  406.            -DWITH_INNODB_MEMCACHED=1 \
  407.            -DINSTALL_LIBDIR="%{_lib}/mysql" \
  408.            -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
  409.            -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
  410.            -DINSTALL_MYSQLSHAREDIR=share/greatsql \
  411.            -DINSTALL_SUPPORTFILESDIR=share/greatsql \
  412.            -DFEATURE_SET="%{feature_set}" \
  413.            -DWITH_AUTHENTICATION_LDAP=OFF \
  414.            -DWITH_PAM=1 \
  415.            -DWITH_TOKUDB=0 \
  416.            -DWITH_UNIT_TESTS=OFF \
  417.            -DWITH_ROCKSDB=OFF \
  418.            -DROCKSDB_DISABLE_AVX2=1 \
  419.            -DROCKSDB_DISABLE_MARCH_NATIVE=1 \
  420.            -DGROUP_REPLICATION_WITH_ROCKSDB=OFF \
  421.            -DALLOW_NO_SSE42=ON \
  422.            -DWITH_INNODB_MEMCACHED=1 \
  423.            -DMYSQL_MAINTAINER_MODE=OFF \
  424.            -DFORCE_INSOURCE_BUILD=1 \
  425.            -DWITH_NUMA=ON \
  426.            -DWITH_LDAP=system \
  427.            -DWITH_SYSTEM_LIBS=ON \
  428.            -DWITH_LZ4=bundled \
  429.            -DWITH_ZLIB=bundled \
  430.            -DWITH_PROTOBUF=bundled \
  431.            -DWITH_RAPIDJSON=bundled \
  432.            -DWITH_ICU=bundled \
  433.            -DWITH_READLINE=system \
  434.            -DWITH_LIBEVENT=bundled \
  435.            -DWITH_ZSTD=bundled \
  436.            -DWITH_KEYRING_VAULT=ON \
  437.            -DWITH_FIDO=bundled \
  438.            -DWITHOUT_RAPID_SECONDARY_STORAGE_ENGINE=1 \
  439.            %{?ssl_option} \
  440.            %{?mecab_option} \
  441.            -DCOMPILATION_COMMENT="%{compilation_comment_release}" %{TOKUDB_FLAGS} %{TOKUDB_DEBUG_OFF} %{ROCKSDB_FLAGS}
  442.   echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG
  443.   make %{?_smp_mflags}
  444. )

  445. %install
  446. %define _unpackaged_files_terminate_build 0
  447. MBD=$RPM_BUILD_DIR/%{src_dir}

  448. # Ensure that needed directories exists
  449. install -d -m 0751 %{buildroot}/var/lib/mysql
  450. install -d -m 0755 %{buildroot}/var/run/mysqld
  451. install -d -m 0750 %{buildroot}/var/lib/mysql-files
  452. install -d -m 0750 %{buildroot}/var/lib/mysql-keyring

  453. # Router directories
  454. install -d -m 0755 %{buildroot}/var/log/mysqlrouter
  455. install -d -m 0755 %{buildroot}/var/run/mysqlrouter

  456. # Install all binaries
  457. cd $MBD/release
  458. make DESTDIR=%{buildroot} install

  459. # Install logrotate and autostart
  460. #install -D -m 0644 packaging/rpm-common/mysql.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
  461. #investigate this logrotate
  462. install -D -m 0644 $MBD/release/support-files/mysql-log-rotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
  463. install -D -m 0644 $MBD/%{src_dir}/build-gs/rpm/mysqld.cnf %{buildroot}%{_sysconfdir}/my.cnf
  464. install -D -p -m 0644 %{_builddir}/greatsql-%{version}-%{greatsql_version}/greatsql-%{version}-%{greatsql_version}/scripts/mysqld.cnf %{buildroot}%{_sysconfdir}/my.cnf
  465. install -d %{buildroot}%{_sysconfdir}/my.cnf.d

  466. #%if 0%{?systemd}
  467. #%else
  468. #%if 0%{?rhel} < 7
  469. #  install -D -m 0755 $MBD/%{src_dir}/build-gs/rpm/mysql.init %{buildroot}%{_sysconfdir}/init.d/mysql
  470. #%endif


  471. # Add libdir to linker
  472. install -d -m 0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
  473. echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf

  474. # multiarch support
  475. %ifarch %{multiarchs}
  476.   mv %{buildroot}/%{_bindir}/mysql_config %{buildroot}/%{_bindir}/mysql_config-%{__isa_bits}
  477.   install -p -m 0755 %{SOURCE5} %{buildroot}/%{_bindir}/mysql_config
  478. %endif

  479. %if 0%{?systemd}
  480. install -D -p -m 0644 scripts/mysqlrouter.service %{buildroot}%{_unitdir}/mysqlrouter.service
  481. #install -D -p -m 0644 packaging/rpm-common/mysqlrouter.conf %{buildroot}%{_tmpfilesdir}/mysqlrouter.conf
  482. #install -D -p -m 0644 packaging/rpm-common/mysqlrouter.tmpfiles.d %{buildroot}%{_tmpfilesdir}/mysqlrouter.conf
  483. %else
  484. install -D -p -m 0755 packaging/rpm-common/mysqlrouter.init %{buildroot}%{_sysconfdir}/init.d/mysqlrouter
  485. %endif
  486. install -D -p -m 0644 packaging/rpm-common/mysqlrouter.conf %{buildroot}%{_sysconfdir}/mysqlrouter/mysqlrouter.conf

  487. # set rpath for plugin to use private/libfido2.so
  488. #patchelf --debug --set-rpath '$ORIGIN/../private' %{buildroot}/%{_libdir}/mysql/plugin/authentication_fido.so

  489. # Remove files pages we explicitly do not want to package
  490. rm -rf %{buildroot}%{_infodir}/mysql.info*
  491. rm -rf %{buildroot}%{_datadir}/greatsql/mysql.server
  492. rm -rf %{buildroot}%{_datadir}/greatsql/mysqld_multi.server
  493. rm -f %{buildroot}%{_datadir}/greatsql/win_install_firewall.sql
  494. rm -f %{buildroot}%{_datadir}/greatsql/audit_log_filter_win_install.sql
  495. rm -rf %{buildroot}%{_bindir}/mysql_embedded
  496. rm -rf %{buildroot}/usr/cmake/coredumper-relwithdebinfo.cmake
  497. rm -rf %{buildroot}/usr/cmake/coredumper.cmake
  498. rm -rf %{buildroot}/usr/include/kmip.h
  499. rm -rf %{buildroot}/usr/include/kmippp.h
  500. rm -rf %{buildroot}/usr/lib/libkmip.a
  501. rm -rf %{buildroot}/usr/lib/libkmippp.a
  502. #%if 0%{?tokudb}
  503. #  rm -f %{buildroot}%{_prefix}/README.md
  504. #  rm -f %{buildroot}%{_prefix}/COPYING.GPLv2
  505. #  rm -f %{buildroot}%{_prefix}/PATENTS
  506. #%endif

  507. # Remove upcoming man pages, to avoid breakage when they materialize
  508. # Keep this comment as a placeholder for future cases
  509. # rm -f %{buildroot}%{_mandir}/man1/<manpage>.1

  510. # Remove removed manpages here until they are removed from the docs repo

  511. %check
  512. %if 0%{?runselftest}
  513.   pushd release
  514.     make test VERBOSE=1
  515.     export MTR_BUILD_THREAD=auto
  516.   pushd mysql-test
  517.   ./mtr \
  518.     --mem --parallel=auto --force --retry=0 \
  519.     --mysqld=--binlog-format=mixed \
  520.     --suite-timeout=720 --testcase-timeout=30 \
  521.     --clean-vardir
  522.   rm -r $(readlink var) var
  523. %endif

  524. %pretrans -n greatsql-server
  525. if [ -d %{_datadir}/mysql ] && [ ! -L %{_datadir}/mysql ]; then
  526.   MYCNF_PACKAGE=$(rpm -qf /usr/share/mysql --queryformat "%{NAME}")
  527. fi

  528. if [ "$MYCNF_PACKAGE" == "mariadb-libs" -o "$MYCNF_PACKAGE" == "mysql-libs" ]; then
  529.   MODIFIED=$(rpm -Va "$MYCNF_PACKAGE" | grep '/usr/share/mysql' | awk '{print $1}' | grep -c 5)
  530.   if [ "$MODIFIED" == 1 ]; then
  531.     cp -r %{_datadir}/mysql %{_datadir}/mysql.old
  532.   fi
  533. fi

  534. %pre -n greatsql-server
  535. /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
  536. /usr/sbin/useradd -M %{!?el5:-N} -g mysql -o -r -d /var/lib/mysql -s /bin/false \
  537.     -c "GreatSQL" -u 27 mysql >/dev/null 2>&1 || :
  538. if [ "$1" = 1 ]; then
  539.   if [ -f %{_sysconfdir}/my.cnf ]; then
  540.     timestamp=$(date '+%Y%m%d-%H%M')
  541.     cp %{_sysconfdir}/my.cnf \
  542.     %{_sysconfdir}/my.cnf.rpmsave-${timestamp}
  543.   fi
  544. fi

  545. %post -n greatsql-server
  546. datadir=$(/usr/bin/my_print_defaults server mysqld | grep '^--datadir=' | sed -n 's/--datadir=//p' | tail -n 1)
  547. /bin/chmod 0751 "$datadir" >/dev/null 2>&1 || :
  548. if [ ! -e /var/log/mysqld.log ]; then
  549.     /usr/bin/install -m0640 -omysql -gmysql /dev/null /var/log/mysqld.log
  550. fi
  551. #/bin/touch /var/log/mysqld.log >/dev/null 2>&1 || :
  552. %if 0%{?systemd}
  553.   %systemd_post mysqld.service
  554.   if [ $1 == 1 ]; then
  555.       /usr/bin/systemctl enable mysqld >/dev/null 2>&1 || :
  556.   fi
  557. %else
  558.   if [ $1 == 1 ]; then
  559.       /sbin/chkconfig --add mysql
  560.   fi
  561. %endif

  562. if [ -d /etc/greatsql.conf.d ]; then
  563.     CONF_EXISTS=$(grep "greatsql.conf.d" /etc/my.cnf | wc -l)
  564.     if [ ${CONF_EXISTS} = 0 ]; then
  565.         echo "!includedir /etc/greatsql.conf.d/" >> /etc/my.cnf
  566.     fi
  567. fi
  568. echo "user = mysql" >> /etc/my.cnf
  569. echo "datadir = /var/lib/mysql" >> /etc/my.cnf
  570. echo "socket = /var/lib/mysql/mysql.sock" >> /etc/my.cnf
  571. echo "log-error = /var/log/mysqld.log" >> /etc/my.cnf
  572. echo "pid-file = /var/run/mysqld/mysqld.pid" >> /etc/my.cnf
  573. echo "slow_query_log = ON" >> /etc/my.cnf
  574. echo "long_query_time = 0.01" >> /etc/my.cnf
  575. echo "log_slow_verbosity = FULL" >> /etc/my.cnf
  576. echo "log_error_verbosity = 3" >> /etc/my.cnf
  577. echo "innodb_buffer_pool_size = 1G" >> /etc/my.cnf
  578. echo "innodb_redo_log_capacity = 256M" >> /etc/my.cnf
  579. echo "innodb_io_capacity = 10000" >> /etc/my.cnf
  580. echo "innodb_io_capacity_max = 20000" >> /etc/my.cnf
  581. echo "innodb_flush_sync = OFF" >> /etc/my.cnf

  582. %preun -n greatsql-server
  583. %if 0%{?systemd}
  584.   %systemd_preun mysqld.service
  585. %else
  586.   if [ "$1" = 0 ]; then
  587.     /sbin/service mysql stop >/dev/null 2>&1 || :
  588.     /sbin/chkconfig --del mysql
  589.   fi
  590. %endif
  591. if [ "$1" = 0 ]; then
  592.   if [ -L %{_datadir}/mysql ]; then
  593.       rm %{_datadir}/mysql
  594.   fi
  595.   if [ -f %{_sysconfdir}/my.cnf ]; then
  596.     cp %{_sysconfdir}/my.cnf \
  597.     %{_sysconfdir}/my.cnf.rpmsave
  598.   fi
  599. fi

  600. %postun -n greatsql-server
  601. %if 0%{?systemd}
  602.   %systemd_postun_with_restart mysqld.service
  603. %else
  604.   if [ $1 -ge 1 ]; then
  605.     /sbin/service mysql condrestart >/dev/null 2>&1 || :
  606.   fi
  607. %endif

  608. %posttrans -n greatsql-server
  609. if [ -d %{_datadir}/mysql ] && [ ! -L %{_datadir}/mysql ]; then
  610.   MYCNF_PACKAGE=$(rpm -qf /usr/share/mysql --queryformat "%{NAME}")
  611.   if [ "$MYCNF_PACKAGE" == "file %{_datadir}/mysql is not owned by any package" ]; then
  612.     mv %{_datadir}/mysql %{_datadir}/mysql.old
  613.   fi
  614. fi

  615. if [ ! -d %{_datadir}/mysql ] && [ ! -L %{_datadir}/mysql ]; then
  616.     ln -s %{_datadir}/greatsql %{_datadir}/mysql
  617. fi

  618. %post -n greatsql-shared

  619. %postun -n greatsql-shared

  620. #%if 0%{?tokudb}
  621. #%post -n greatsql-tokudb
  622. #if [ $1 -eq 1 ] ; then
  623. #  echo -e "\n\n * This release of GreatSQL is distributed with TokuDB storage engine."
  624. #  echo -e " * Run the following script to enable the TokuDB storage engine in Percona Server:\n"
  625. #  echo -e "\tps-admin --enable-tokudb -u <mysql_admin_user> -p[mysql_admin_pass] [-S <socket>] [-h <host> -P <port>]\n"
  626. #  echo -e " * See [url=http://www.percona.com/doc/percona-server/8.0/tokudb/tokudb_installation.html]http://www.percona.com/doc/perco ... b_installation.html[/url] for more installation details\n"
  627. #  echo -e " * See [url=http://www.percona.com/doc/percona-server/8.0/tokudb/tokudb_intro.html]http://www.percona.com/doc/perco ... b/tokudb_intro.html[/url] for an introduction to TokuDB\n\n"
  628. #fi
  629. #%endif
  630. #
  631. %if 0%{?rocksdb}
  632. %post -n greatsql-rocksdb
  633. if [ $1 -eq 1 ] ; then
  634.   echo -e "\n\n * This release of GreatSQL is distributed with RocksDB storage engine."
  635.   echo -e " * Run the following script to enable the RocksDB storage engine in GreatSQL:\n"
  636.   echo -e "\tps-admin --enable-rocksdb -u <mysql_admin_user> -p[mysql_admin_pass] [-S <socket>] [-h <host> -P <port>]\n"
  637. fi
  638. %endif

  639. %pre -n greatsql-mysql-router
  640. /usr/sbin/groupadd -r mysqlrouter >/dev/null 2>&1 || :
  641. /usr/sbin/useradd -M -N -g mysqlrouter -r -d /var/lib/mysqlrouter -s /bin/false \
  642.     -c "GreatSQL MySQL Router" mysqlrouter >/dev/null 2>&1 || :

  643. %post -n greatsql-mysql-router
  644. /sbin/ldconfig
  645. %if 0%{?systemd}
  646. %systemd_post mysqlrouter.service
  647. %else
  648. /sbin/chkconfig --add mysqlrouter
  649. %endif # systemd

  650. %preun -n greatsql-mysql-router
  651. %if 0%{?systemd}
  652. %systemd_preun mysqlrouter.service
  653. %else
  654. if [ "$1" = 0 ]; then
  655.     /sbin/service mysqlrouter stop >/dev/null 2>&1 || :
  656.     /sbin/chkconfig --del mysqlrouter
  657. fi
  658. %endif # systemd

  659. %postun -n greatsql-mysql-router
  660. /sbin/ldconfig
  661. %if 0%{?systemd}
  662. %systemd_postun_with_restart mysqlrouter.service
  663. %else
  664. if [ $1 -ge 1 ]; then
  665.     /sbin/service mysqlrouter condrestart >/dev/null 2>&1 || :
  666. fi
  667. %endif # systemd


  668. %files -n greatsql-server
  669. %defattr(-, root, root, -)
  670. %doc %{?license_files_server}
  671. %doc %{src_dir}/Docs/INFO_SRC*
  672. %doc release/Docs/INFO_BIN*
  673. %attr(644, root, root) %{_mandir}/man1/innochecksum.1*
  674. %attr(644, root, root) %{_mandir}/man1/ibd2sdi.1*
  675. %attr(644, root, root) %{_mandir}/man1/my_print_defaults.1*
  676. %attr(644, root, root) %{_mandir}/man1/myisam_ftdump.1*
  677. %attr(644, root, root) %{_mandir}/man1/myisamchk.1*
  678. %attr(644, root, root) %{_mandir}/man1/myisamlog.1*
  679. %attr(644, root, root) %{_mandir}/man1/myisampack.1*
  680. %attr(644, root, root) %{_mandir}/man8/mysqld.8*
  681. #%if 0%{?systemd}
  682. #%exclude %{_mandir}/man1/mysqld_multi.1*
  683. #%exclude %{_mandir}/man1/mysqld_safe.1*
  684. #%else
  685. #%attr(644, root, root) %{_mandir}/man1/mysqld_multi.1*
  686. #%attr(644, root, root) %{_mandir}/man1/mysqld_safe.1*
  687. #%endif
  688. %attr(644, root, root) %{_mandir}/man1/mysqldumpslow.1*
  689. %attr(644, root, root) %{_mandir}/man1/mysql_secure_installation.1*
  690. %attr(644, root, root) %{_mandir}/man1/mysql_upgrade.1*
  691. %attr(644, root, root) %{_mandir}/man1/mysqlman.1*
  692. #%attr(644, root, root) %{_mandir}/man1/mysql.server.1*
  693. %attr(644, root, root) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
  694. %attr(644, root, root) %{_mandir}/man1/perror.1*
  695. %attr(644, root, root) %{_mandir}/man1/mysql_ssl_rsa_setup.1*
  696. %attr(644, root, root) %{_mandir}/man1/lz4_decompress.1*
  697. %attr(644, root, root) %{_mandir}/man1/zlib_decompress.1*

  698. %config(noreplace) %{_sysconfdir}/my.cnf
  699. %dir %{_sysconfdir}/my.cnf.d

  700. %attr(755, root, root) %{_bindir}/comp_err
  701. %attr(755, root, root) %{_bindir}/innochecksum
  702. %attr(755, root, root) %{_bindir}/ibd2sdi
  703. %attr(755, root, root) %{_bindir}/my_print_defaults
  704. %attr(755, root, root) %{_bindir}/myisam_ftdump
  705. %attr(755, root, root) %{_bindir}/myisamchk
  706. %attr(755, root, root) %{_bindir}/myisamlog
  707. %attr(755, root, root) %{_bindir}/myisampack
  708. %attr(755, root, root) %{_bindir}/mysql_secure_installation
  709. %attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
  710. %attr(755, root, root) %{_bindir}/mysql_upgrade
  711. %attr(755, root, root) %{_bindir}/mysqldumpslow
  712. %attr(755, root, root) %{_bindir}/ps_mysqld_helper
  713. %attr(755, root, root) %{_bindir}/perror
  714. %attr(755, root, root) %{_bindir}/mysql_ssl_rsa_setup
  715. %attr(755, root, root) %{_bindir}/lz4_decompress
  716. %attr(755, root, root) %{_bindir}/zlib_decompress
  717. %attr(755, root, root) %{_bindir}/ps-admin
  718. %attr(755, root, root) %{_bindir}/zstd_decompress
  719. %attr(755, root, root) %{_bindir}/mysqldecompress
  720. %if 0%{?systemd}
  721. %attr(755, root, root) %{_bindir}/mysqld_pre_systemd
  722. %attr(755, root, root) %{_bindir}/mysqld_safe
  723. %else
  724. %attr(755, root, root) %{_bindir}/mysqld_multi
  725. %attr(755, root, root) %{_bindir}/mysqld_safe
  726. %endif
  727. %attr(755, root, root) %{_sbindir}/mysqld
  728. %attr(755, root, root) %{_sbindir}/mysqld-debug
  729. %dir %{_libdir}/mysql/private
  730. %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf-lite.so.*
  731. %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf.so.*

  732. %dir %{_libdir}/mysql/plugin
  733. %attr(755, root, root) %{_libdir}/mysql/plugin/procfs.so
  734. %attr(755, root, root) %{_libdir}/mysql/plugin/binlog_utils_udf.so
  735. %attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so
  736. %attr(755, root, root) %{_libdir}/mysql/plugin/auth_socket.so
  737. #%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_kerberos_client.so
  738. %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl.so
  739. %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl_client.so
  740. %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_simple.so
  741. %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_oci_client.so
  742. %attr(755, root, root) %{_libdir}/mysql/plugin/greatdb_ha.so
  743. %attr(755, root, root) %{_libdir}/mysql/plugin/group_replication.so
  744. %attr(755, root, root) %{_libdir}/mysql/plugin/component_audit_api_message_emit.so
  745. %attr(755, root, root) %{_libdir}/mysql/plugin/component_encryption_udf.so
  746. %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_file.so
  747. %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_kmip.so
  748. %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_kms.so
  749. %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_filter_dragnet.so
  750. %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_json.so
  751. %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_syseventlog.so
  752. %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlbackup.so
  753. %attr(755, root, root) %{_libdir}/mysql/plugin/component_query_attributes.so
  754. %attr(755, root, root) %{_libdir}/mysql/plugin/component_reference_cache.so
  755. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_audit_api_message.so
  756. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_component_deinit.so
  757. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_host_application_signal.so
  758. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_command_services.so
  759. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_system_variable_set.so
  760. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sensitive_system_variables.so
  761. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_reader.so
  762. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_table_access.so
  763. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_udf_services.so
  764. %attr(755, root, root) %{_libdir}/mysql/plugin/component_validate_password.so
  765. %attr(755, root, root) %{_libdir}/mysql/plugin/conflicting_variables.so
  766. %attr(755, root, root) %{_libdir}/mysql/plugin/connection_control.so
  767. %attr(755, root, root) %{_libdir}/mysql/plugin/ddl_rewriter.so
  768. %attr(755, root, root) %{_libdir}/mysql/plugin/ha_example.so
  769. %attr(755, root, root) %{_libdir}/mysql/plugin/ha_mock.so
  770. %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_file.so
  771. %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_udf.so
  772. %attr(755, root, root) %{_libdir}/mysql/plugin/innodb_engine.so
  773. %attr(755, root, root) %{_libdir}/mysql/plugin/libmemcached.so
  774. %attr(755, root, root) %{_libdir}/mysql/plugin/locking_service.so
  775. %attr(755, root, root) %{_libdir}/mysql/plugin/mypluglib.so
  776. %attr(755, root, root) %{_libdir}/mysql/plugin/mysql_clone.so
  777. %attr(755, root, root) %{_libdir}/mysql/plugin/mysql_no_login.so
  778. %attr(755, root, root) %{_libdir}/mysql/plugin/rewrite_example.so
  779. %attr(755, root, root) %{_libdir}/mysql/plugin/rewriter.so
  780. %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so
  781. %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so
  782. %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_replica.so
  783. %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_source.so
  784. %attr(755, root, root) %{_libdir}/mysql/plugin/validate_password.so
  785. %attr(755, root, root) %{_libdir}/mysql/plugin/version_token.so
  786. %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_command_services.so
  787. %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_host_application_signal.so
  788. %attr(755, root, root) %{_libdir}/mysql/plugin/test_udf_wrappers.so
  789. %attr(755, root, root) %{_libdir}/mysql/plugin/data_masking*
  790. %dir %{_libdir}/mysql/plugin/debug
  791. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/procfs.so
  792. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/data_masking.so
  793. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so
  794. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so
  795. #%attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_kerberos_client.so
  796. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_simple.so
  797. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl.so
  798. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl_client.so
  799. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_oci_client.so
  800. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/greatdb_ha.so
  801. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/group_replication.so
  802. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_audit_api_message_emit.so
  803. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_encryption_udf.so
  804. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_file.so
  805. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_kmip.so
  806. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_kms.so
  807. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_filter_dragnet.so
  808. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_json.so
  809. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_syseventlog.so
  810. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlbackup.so
  811. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_query_attributes.so
  812. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_reference_cache.so
  813. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_audit_api_message.so
  814. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_component_deinit.so
  815. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_host_application_signal.so
  816. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_command_services.so
  817. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_system_variable_set.so
  818. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sensitive_system_variables.so
  819. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_reader.so
  820. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_table_access.so
  821. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_services.so
  822. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_validate_password.so
  823. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/conflicting_variables.so
  824. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/connection_control.so
  825. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ddl_rewriter.so
  826. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_example.so
  827. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_mock.so
  828. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_file.so
  829. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_udf.so
  830. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/innodb_engine.so
  831. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libmemcached.so
  832. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/locking_service.so
  833. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mypluglib.so
  834. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_clone.so
  835. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_no_login.so
  836. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewrite_example.so
  837. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewriter.so
  838. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_master.so
  839. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_slave.so
  840. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_replica.so
  841. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_source.so
  842. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/validate_password.so
  843. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/version_token.so
  844. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_command_services.so
  845. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_host_application_signal.so
  846. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/binlog_utils_udf.so
  847. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_wrappers.so
  848. %if 0%{?mecab}
  849. %{_libdir}/mysql/mecab
  850. %attr(755, root, root) %{_libdir}/mysql/plugin/libpluginmecab.so
  851. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libpluginmecab.so
  852. %endif
  853. #coredumper
  854. %attr(755, root, root) %{_includedir}/coredumper/coredumper.h
  855. %attr(755, root, root) /usr/lib/libcoredumper.a
  856. # Percona plugins
  857. %attr(755, root, root) %{_libdir}/mysql/plugin/audit_log.so
  858. %attr(755, root, root) %{_libdir}/mysql/plugin/audit_login_messages.so
  859. #%attr(644, root, root) %{_datadir}/mysql-*/audit_log_filter_linux_install.sql
  860. #%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so
  861. #%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl.so
  862. #%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_simple.so
  863. #%attr(755, root, root) %{_libdir}/mysql/plugin/keyring_okv.so
  864. #%attr(755, root, root) %{_libdir}/mysql/plugin/keyring_encrypted_file.so
  865. #%attr(755, root, root) %{_libdir}/mysql/plugin/mysql_clone.so
  866. #%attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so
  867. #%attr(755, root, root) %{_libdir}/mysql/plugin/openssl_udf.so
  868. #%attr(755, root, root) %{_libdir}/mysql/plugin/firewall.so
  869. #%attr(644, root, root) %{_datadir}/mysql-*/linux_install_firewall.sql
  870. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/audit_log.so
  871. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/audit_login_messages.so
  872. #%attr(755, root, root) %{_libdir}/mysql/plugin/scalability_metrics.so
  873. #%attr(755, root, root) %{_libdir}/mysql/plugin/debug/scalability_metrics.so
  874. %attr(755, root, root) %{_libdir}/mysql/plugin/auth_pam.so
  875. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_pam.so
  876. %attr(755, root, root) %{_libdir}/mysql/plugin/auth_pam_compat.so
  877. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_pam_compat.so
  878. %attr(755, root, root) %{_libdir}/mysql/plugin/libfnv1a_udf.*
  879. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libfnv1a_udf.*
  880. %attr(755, root, root) %{_libdir}/mysql/plugin/libfnv_udf.*
  881. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libfnv_udf.*
  882. %attr(755, root, root) %{_libdir}/mysql/plugin/libmurmur_udf.*
  883. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libmurmur_udf.*
  884. %attr(755, root, root) %{_libdir}/mysql/plugin/dialog.so
  885. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/dialog.so
  886. #%attr(755, root, root) %{_libdir}/mysql/plugin/query_response_time.so
  887. #%attr(755, root, root) %{_libdir}/mysql/plugin/debug/query_response_time.so
  888. %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_vault.so
  889. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_vault.so
  890. #
  891. #%attr(644, root, root) %{_datadir}/greatsql/fill_help_tables.sql
  892. #%attr(644, root, root) %{_datadir}/greatsql/mysql_sys_schema.sql
  893. #%attr(644, root, root) %{_datadir}/greatsql/mysql_system_tables.sql
  894. #%attr(644, root, root) %{_datadir}/greatsql/mysql_system_tables_data.sql
  895. #%attr(644, root, root) %{_datadir}/greatsql/mysql_test_data_timezone.sql
  896. %attr(644, root, root) %{_datadir}/greatsql/mysql-log-rotate
  897. #%attr(644, root, root) %{_datadir}/greatsql/mysql_security_commands.sql
  898. %attr(644, root, root) %{_datadir}/greatsql/dictionary.txt
  899. %attr(644, root, root) %{_datadir}/greatsql/innodb_memcached_config.sql
  900. %attr(644, root, root) %{_datadir}/greatsql/install_rewriter.sql
  901. %attr(644, root, root) %{_datadir}/greatsql/uninstall_rewriter.sql
  902. %attr(644, root, root) %{_datadir}/greatsql/install_audit_log.sql
  903. %attr(644, root, root) %{_datadir}/greatsql/sys_masking.sql
  904. %attr(644, root, root) %{_datadir}/greatsql/uninstall_audit_log.sql
  905. %if 0%{?systemd}
  906. %attr(644, root, root) %{_unitdir}/mysqld.service
  907. %attr(644, root, root) %{_unitdir}/mysqld@.service
  908. %attr(644, root, root) %{_prefix}/lib/tmpfiles.d/mysql.conf
  909. %else
  910. %attr(755, root, root) %{_sysconfdir}/init.d/mysql
  911. %endif
  912. %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
  913. %dir %attr(751, mysql, mysql) /var/lib/mysql
  914. %dir %attr(755, mysql, mysql) /var/run/mysqld
  915. %dir %attr(750, mysql, mysql) /var/lib/mysql-files
  916. %dir %attr(750, mysql, mysql) /var/lib/mysql-keyring

  917. %attr(755, root, root) %{_datadir}/greatsql/messages_to_clients.txt
  918. %attr(755, root, root) %{_datadir}/greatsql/messages_to_error_log.txt
  919. %attr(755, root, root) %{_datadir}/greatsql/charsets/
  920. %attr(755, root, root) %{_datadir}/greatsql/bulgarian/
  921. %attr(755, root, root) %{_datadir}/greatsql/chinese/
  922. %attr(755, root, root) %{_datadir}/greatsql/czech/
  923. %attr(755, root, root) %{_datadir}/greatsql/danish/
  924. %attr(755, root, root) %{_datadir}/greatsql/dutch/
  925. %attr(755, root, root) %{_datadir}/greatsql/english/
  926. %attr(755, root, root) %{_datadir}/greatsql/estonian/
  927. %attr(755, root, root) %{_datadir}/greatsql/french/
  928. %attr(755, root, root) %{_datadir}/greatsql/german/
  929. %attr(755, root, root) %{_datadir}/greatsql/greek/
  930. %attr(755, root, root) %{_datadir}/greatsql/hungarian/
  931. %attr(755, root, root) %{_datadir}/greatsql/italian/
  932. %attr(755, root, root) %{_datadir}/greatsql/japanese/
  933. %attr(755, root, root) %{_datadir}/greatsql/korean/
  934. %attr(755, root, root) %{_datadir}/greatsql/norwegian-ny/
  935. %attr(755, root, root) %{_datadir}/greatsql/norwegian/
  936. %attr(755, root, root) %{_datadir}/greatsql/polish/
  937. %attr(755, root, root) %{_datadir}/greatsql/portuguese/
  938. %attr(755, root, root) %{_datadir}/greatsql/romanian/
  939. %attr(755, root, root) %{_datadir}/greatsql/russian/
  940. %attr(755, root, root) %{_datadir}/greatsql/serbian/
  941. %attr(755, root, root) %{_datadir}/greatsql/slovak/
  942. %attr(755, root, root) %{_datadir}/greatsql/spanish/
  943. %attr(755, root, root) %{_datadir}/greatsql/swedish/
  944. %attr(755, root, root) %{_datadir}/greatsql/ukrainian/
  945. #%attr(755, root, root) %{_datadir}/greatsql/mysql_system_users.sql

  946. %files -n greatsql-client
  947. %defattr(-, root, root, -)
  948. %doc %{?license_files_server}
  949. %attr(755, root, root) %{_bindir}/mysql
  950. %attr(755, root, root) %{_bindir}/mysqladmin
  951. %attr(755, root, root) %{_bindir}/mysqlbinlog
  952. %attr(755, root, root) %{_bindir}/mysqlcheck
  953. %attr(755, root, root) %{_bindir}/mysqldecrypt
  954. %attr(755, root, root) %{_bindir}/mysqldump
  955. %attr(755, root, root) %{_bindir}/mysqlimport
  956. %attr(755, root, root) %{_bindir}/mysqlpump
  957. %attr(755, root, root) %{_bindir}/mysqlshow
  958. %attr(755, root, root) %{_bindir}/mysqlslap
  959. %attr(755, root, root) %{_bindir}/mysql_config_editor
  960. %attr(755, root, root) %{_bindir}/mysql_migrate_keyring
  961. %attr(755, root, root) %{_bindir}/mysql_keyring_encryption_test

  962. %attr(644, root, root) %{_mandir}/man1/mysql.1*
  963. %attr(644, root, root) %{_mandir}/man1/mysqladmin.1*
  964. %attr(644, root, root) %{_mandir}/man1/mysqlbinlog.1*
  965. %attr(644, root, root) %{_mandir}/man1/mysqlcheck.1*
  966. %attr(644, root, root) %{_mandir}/man1/mysqldump.1*
  967. %attr(644, root, root) %{_mandir}/man1/mysqlpump.1*
  968. %attr(644, root, root) %{_mandir}/man1/mysqlimport.1*
  969. %attr(644, root, root) %{_mandir}/man1/mysqlshow.1*
  970. %attr(644, root, root) %{_mandir}/man1/mysqlslap.1*
  971. %attr(644, root, root) %{_mandir}/man1/mysql_config_editor.1*

  972. %files -n greatsql-devel
  973. %defattr(-, root, root, -)
  974. %doc %{?license_files_server}
  975. %attr(644, root, root) %{_mandir}/man1/comp_err.1*
  976. %attr(644, root, root) %{_mandir}/man1/mysql_config.1*
  977. %attr(755, root, root) %{_bindir}/mysql_config
  978. %attr(755, root, root) %{_bindir}/mysql_config-%{__isa_bits}
  979. %{_includedir}/mysql
  980. %{_datadir}/aclocal/mysql.m4
  981. %{_libdir}/mysql/lib%{shared_lib_pri_name}.a
  982. %{_libdir}/mysql/libmysqlservices.a
  983. %{_libdir}/mysql/lib%{shared_lib_pri_name}.so
  984. %{_libdir}/pkgconfig/%{shared_lib_pri_name}.pc

  985. %files -n greatsql-shared
  986. %defattr(-, root, root, -)
  987. %doc %{?license_files_server}
  988. %dir %attr(755, root, root) %{_libdir}/mysql
  989. %attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
  990. %{_libdir}/mysql/lib%{shared_lib_pri_name}.so.21*

  991. #%if 0%{?compatlib}
  992. #%files -n greatsql-shared-compat
  993. #%defattr(-, root, root, -)
  994. #%doc %{?license_files_server}
  995. #%dir %attr(755, root, root) %{_libdir}/mysql
  996. #%attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
  997. #%{_libdir}/mysql/libmysqlclient.so.%{compatlib}.*
  998. #%{_libdir}/mysql/libmysqlclient_r.so.%{compatlib}.*
  999. #%endif

  1000. %files -n greatsql-test
  1001. %defattr(-, root, root, -)
  1002. %doc %{?license_files_server}
  1003. %attr(-, root, root) %{_datadir}/mysql-test
  1004. %attr(755, root, root) %{_bindir}/mysql_client_test
  1005. %attr(755, root, root) %{_bindir}/mysqltest
  1006. %attr(755, root, root) %{_bindir}/mysqltest_safe_process
  1007. %attr(755, root, root) %{_bindir}/mysqlxtest

  1008. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_sleep_is_connected.so
  1009. %attr(755, root, root) %{_libdir}/mysql/plugin/auth.so
  1010. %attr(755, root, root) %{_libdir}/mysql/plugin/auth_test_plugin.so
  1011. %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component1.so
  1012. %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component2.so
  1013. %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component3.so
  1014. %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_test.so
  1015. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_backup_lock_service.so
  1016. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service_charset.so
  1017. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service_long.so
  1018. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service.so
  1019. %attr(755, root, root) %{_libdir}/mysql/plugin/component_pfs_example.so
  1020. %attr(755, root, root) %{_libdir}/mysql/plugin/component_pfs_example_component_population.so
  1021. %attr(755, root, root) %{_libdir}/mysql/plugin/pfs_example_plugin_employee.so
  1022. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_pfs_notification.so
  1023. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_pfs_resource_group.so
  1024. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_udf_registration.so
  1025. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_current_thread_reader.so
  1026. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_3_func.so
  1027. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_avg_func.so
  1028. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_int_func.so
  1029. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_int_same_func.so
  1030. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_only_3_func.so
  1031. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_real_func.so
  1032. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_3_func.so
  1033. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_int_func.so
  1034. %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_real_func.so
  1035. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_int.so
  1036. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service.so
  1037. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_same.so
  1038. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_str.so
  1039. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service.so
  1040. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_int.so
  1041. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_reg_only.so
  1042. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_str.so
  1043. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_unreg_only.so
  1044. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_system_variable_source.so
  1045. %attr(644, root, root) %{_libdir}/mysql/plugin/daemon_example.ini
  1046. %attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so
  1047. %attr(755, root, root) %{_libdir}/mysql/plugin/replication_observers_example_plugin.so
  1048. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_framework.so
  1049. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_services.so
  1050. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_services_threaded.so
  1051. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_detach.so
  1052. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_attach.so
  1053. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_in_thd.so
  1054. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_info.so
  1055. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_2_sessions.so
  1056. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_all_col_types.so
  1057. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_cmds_1.so
  1058. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_commit.so
  1059. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_complex.so
  1060. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_errors.so
  1061. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_lock.so
  1062. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_processlist.so
  1063. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_replication.so
  1064. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_shutdown.so
  1065. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_stmt.so
  1066. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_sqlmode.so
  1067. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_stored_procedures_functions.so
  1068. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_views_triggers.so
  1069. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_x_sessions_deinit.so
  1070. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_x_sessions_init.so
  1071. %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_client.so
  1072. %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_interface.so
  1073. %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_server.so
  1074. %attr(755, root, root) %{_libdir}/mysql/plugin/test_security_context.so
  1075. %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_plugin_registry.so
  1076. %attr(755, root, root) %{_libdir}/mysql/plugin/test_udf_services.so
  1077. %attr(755, root, root) %{_libdir}/mysql/plugin/udf_example.so
  1078. %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlx_global_reset.so
  1079. %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_runtime_error.so
  1080. %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_reset_connection.so
  1081. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_runtime_error.so
  1082. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_reset_connection.so
  1083. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so
  1084. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so
  1085. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component1.so
  1086. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component2.so
  1087. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component3.so
  1088. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_test.so
  1089. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_backup_lock_service.so
  1090. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_charset.so
  1091. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_long.so
  1092. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service.so
  1093. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example.so
  1094. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example_component_population.so
  1095. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/pfs_example_plugin_employee.so
  1096. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_notification.so
  1097. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_resource_group.so
  1098. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_registration.so
  1099. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_current_thread_reader.so
  1100. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_3_func.so
  1101. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_avg_func.so
  1102. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_func.so
  1103. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_same_func.so
  1104. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_only_3_func.so
  1105. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_real_func.so
  1106. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_3_func.so
  1107. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_int_func.so
  1108. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_real_func.so
  1109. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_int.so
  1110. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service.so
  1111. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_same.so
  1112. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_str.so
  1113. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service.so
  1114. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_int.so
  1115. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_reg_only.so
  1116. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_str.so
  1117. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_unreg_only.so
  1118. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_system_variable_source.so
  1119. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so
  1120. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/replication_observers_example_plugin.so
  1121. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_framework.so
  1122. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services.so
  1123. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services_threaded.so
  1124. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_detach.so
  1125. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_attach.so
  1126. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_in_thd.so
  1127. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_info.so
  1128. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_2_sessions.so
  1129. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_all_col_types.so
  1130. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_cmds_1.so
  1131. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_commit.so
  1132. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_complex.so
  1133. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_errors.so
  1134. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_lock.so
  1135. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_processlist.so
  1136. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_replication.so
  1137. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_shutdown.so
  1138. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stmt.so
  1139. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sqlmode.so
  1140. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stored_procedures_functions.so
  1141. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_views_triggers.so
  1142. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_deinit.so
  1143. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_init.so
  1144. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so
  1145. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so
  1146. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so
  1147. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_security_context.so
  1148. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_plugin_registry.so
  1149. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_services.so
  1150. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/udf_example.so
  1151. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlx_global_reset.so
  1152. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sleep_is_connected.so

  1153. #%if 0%{?tokudb}
  1154. #%files -n percona-server-tokudb
  1155. #%attr(-, root, root)
  1156. #%{_bindir}/tokuftdump
  1157. #%{_libdir}/mysql/plugin/ha_tokudb.so
  1158. #%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_tokudb.so
  1159. #%attr(755, root, root) %{_bindir}/tokuft_logprint
  1160. #%attr(755, root, root) %{_libdir}/mysql/plugin/tokudb_backup.so
  1161. #%attr(755, root, root) %{_libdir}/mysql/plugin/debug/tokudb_backup.so
  1162. #%attr(755, root, root) %{_libdir}/mysql/libHotBackup.so
  1163. #%{_includedir}/backup.h
  1164. #%endif

  1165. %if 0%{?rocksdb}
  1166. %files -n greatsql-rocksdb
  1167. %attr(-, root, root)
  1168. %{_libdir}/mysql/plugin/ha_rocksdb.so
  1169. %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_rocksdb.so
  1170. %attr(755, root, root) %{_bindir}/ldb
  1171. %attr(755, root, root) %{_bindir}/mysql_ldb
  1172. %attr(755, root, root) %{_bindir}/sst_dump
  1173. %endif

  1174. %files -n greatsql-mysql-router
  1175. %defattr(-, root, root, -)
  1176. %doc %{src_dir}/router/README.router  %{src_dir}/router/LICENSE.router
  1177. %dir %{_sysconfdir}/mysqlrouter
  1178. %config(noreplace) %{_sysconfdir}/mysqlrouter/mysqlrouter.conf
  1179. %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysqlrouter
  1180. %{_bindir}/mysqlrouter
  1181. %{_bindir}/mysqlrouter_keyring
  1182. %{_bindir}/mysqlrouter_passwd
  1183. %{_bindir}/mysqlrouter_plugin_info
  1184. %attr(644, root, root) %{_mandir}/man1/mysqlrouter.1*
  1185. %attr(644, root, root) %{_mandir}/man1/mysqlrouter_passwd.1*
  1186. %attr(644, root, root) %{_mandir}/man1/mysqlrouter_plugin_info.1*
  1187. %if 0%{?systemd}
  1188. %{_unitdir}/mysqlrouter.service
  1189. %{_tmpfilesdir}/mysqlrouter.conf
  1190. %else
  1191. %{_sysconfdir}/init.d/mysqlrouter
  1192. %endif
  1193. %{_libdir}/mysqlrouter/private/libmysqlharness*.so.*
  1194. %{_libdir}/mysqlrouter/private/libmysqlrouter*.so.*
  1195. %{_libdir}/mysqlrouter/private/libmysqlrouter_http.so.*
  1196. %{_libdir}/mysqlrouter/private/libmysqlrouter_http_auth_backend.so.*
  1197. %{_libdir}/mysqlrouter/private/libmysqlrouter_http_auth_realm.so.*
  1198. %{_libdir}/mysqlrouter/private/libprotobuf-lite.so.*
  1199. %dir %{_libdir}/mysqlrouter
  1200. %dir %{_libdir}/mysqlrouter/private
  1201. %{_libdir}/mysqlrouter/*.so
  1202. %dir %attr(755, mysqlrouter, mysqlrouter) /var/log/mysqlrouter
  1203. %dir %attr(755, mysqlrouter, mysqlrouter) /var/run/mysqlrouter

  1204. %files -n greatsql-icu-data-files
  1205. %defattr(-, root, root, -)
  1206. %doc %{?license_files_server}
  1207. %dir %attr(755, root, root) %{_libdir}/mysql/private/icudt69l
  1208. %{_libdir}/mysql/private/icudt69l/unames.icu
  1209. %{_libdir}/mysql/private/icudt69l/brkitr

  1210. %changelog
  1211. * Wed Sep 11 2024 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.32-26.2
  1212. - Fix the issue of missing audit and datamask plugin files for GreatSQL-8.0.32-26.2

  1213. * Thu Aug 8 2024 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.32-26.1
  1214. - Release GreatSQL-8.0.32-26.1

  1215. * Mon Apr 22 2024 Wenlong Zhang <[url=mailto:zhangwenlong@loongson.cn]zhangwenlong@loongson.cn[/url]> - 8.0.32-25.3
  1216. - add loongarch64 support

  1217. * Fri Jun 7 2024 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.32-25.2
  1218. - Change the compilation dependency of compat-openssl to openssl for GreatSQL-8.0.32-25.2

  1219. * Thu Dec 28 2023 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.32-25.1
  1220. - Release GreatSQL-8.0.32-25.1

  1221. * Wed Jul 5 2023 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.32-24.2
  1222. - modify libmysqlrouter.so.* to libmysqlrouter*.so.*

  1223. * Wed Jun 7 2023 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.32-24.1
  1224. - Release GreatSQL-8.0.32-24.1 for openEuler

  1225. * Mon Feb 6 2023 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.25-16.6
  1226. - compat-openssl11-devel

  1227. * Tue Sep 13 2022 bzhaoop <[url=mailto:bzhaojyathousandy@gmail.com]bzhaojyathousandy@gmail.com[/url]> - 8.0.25-16.5
  1228. - refactor the mysqld.cnf into the rpm package
  1229. - Add the self-dependency towards greatsql-server and greatsql-mysql-config.

  1230. * Tue Aug 16 2022 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.25-16.4
  1231. - new package greatsql-mysql-config

  1232. * Fri Aug 12 2022 bzhaoop <[url=mailto:bzhaojyathousandy@gmail.com]bzhaojyathousandy@gmail.com[/url]> - 8.0.25-16.3
  1233. - Hide the conflict libs and files from provides and requires.

  1234. * Tue Aug 9 2022 bzhaoop <[url=mailto:bzhaojyathousandy@gmail.com]bzhaojyathousandy@gmail.com[/url]> - 8.0.25-16.2
  1235. - Hide the conflict libs and files.

  1236. * Mon Jun 6 2022 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.25-16.1
  1237. - Release GreatSQL-8.0.25-16.1 for openEuler

  1238. * Mon Apr 25 2022 GreatSQL <[url=mailto:greatsql@greatdb.com]greatsql@greatdb.com[/url]> - 8.0.25-15.1
  1239. - Release GreatSQL-8.0.25-15.1 for openEuler
复制代码



yejr 2025-1-6 17:40:04
alexyj 发表于 2025-1-6 13:46
编译成功后,安装的时候报如下错:

对比了下,看起来和我使用的 greatsql.spec 中对perl包的依赖是一样的

你具体是怎么安装的,可以采用 rpm -ivh --nodeps greatsql*rpm 忽略这个依赖约束试试看
12

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2025-1-18 12:57 , Processed in 0.017716 second(s), 10 queries , Redis On.
快速回复 返回顶部 返回列表