Commit Graph

18 Commits

Author SHA1 Message Date
Michal Schorm
011988191e Remove unnecessary BuildRequires
These packages are either not needed, or are brought in anyway by their *-devel sub-packgages.

It is possible to check whether the MySQL miss something by searching through the CMake checks, for "EXECUTABLE-NOTFOUND" keyword.
Some are expected to be missing. e.g. Git.
We don't want the MySQL to try to additional sources from web from git during compilation (not like it can anyway, but without the git, CMake won't even try)

List of currently not found executables, for future reference:
  GIT_EXECUTABLE:FILEPATH=GIT_EXECUTABLE-NOTFOUND
  DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND
  DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
  CTAGS_EXECUTABLE:FILEPATH=CTAGS_EXECUTABLE-NOTFOUND
  PATCHELF_EXECUTABLE:FILEPATH=PATCHELF_EXECUTABLE-NOTFOUND
2024-06-10 13:22:58 +02:00
Michal Schorm
f9c8a7626a [bundled libraries fix] remove unused bundles 2024-06-10 13:22:58 +02:00
Michal Schorm
15b46299cf [bundled libraries fix] The 'rapidjson' library has to be bundled.
When you try to use system version of the library, following error emerges:
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX - Failed
| CMake Error at cmake/rapidjson.cmake:114 (MESSAGE):
|   System rapidjson lacks some fixes required for support of regular
|   expressions.  See extra/RAPIDJSON-README for details.
| Call Stack (most recent call first):
|   CMakeLists.txt:1952 (MYSQL_CHECK_RAPIDJSON)
| -- Configuring incomplete, errors occurred!

I specifically chose not to specify version in the bundled(rapidjson),
to avoid confusion that it's the same version as of the system variant of the library from package 'rapidjson'
2024-06-09 23:10:30 +02:00
Michal Schorm
ff51e1d0f5 Bump release for package rebuild 2024-06-09 17:37:20 +02:00
Michal Schorm
5860b59256 Explicitly state 'zlib' and 'rapidjson' bundling status
Both are set to 'bundled' by default !

We really want to avoid bundling zlib.
On top of that, there is currently a problem with the bundled zlib, which results in a linker error during compilation.

We want to un-bundle rapidjson too, but:
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX - Failed
| CMake Error at cmake/rapidjson.cmake:114 (MESSAGE):
|   System rapidjson lacks some fixes required for support of regular
|   expressions.  See extra/RAPIDJSON-README for details.
| Call Stack (most recent call first):
|   CMakeLists.txt:1952 (MYSQL_CHECK_RAPIDJSON)
| -- Configuring incomplete, errors occurred!
needs further investigation.
2024-06-09 17:32:26 +02:00
Lars Tangvald
6cd7eae323 Upgrade to MySQL 8.0.37 2024-05-27 13:29:35 +02:00
Michal Schorm
430b276312 Fix my.cnf dependency
Installation path macros are not allowed in file dependencies.
Starting with F40, these break flatpak builds entirely because
dnf5 only recognizes file deps in /etc, /usr/bin, and /usr/sbin,
not /app/etc.  At this point, mariadb-connector-c-config is the
sole provider of my.cnf.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies

--

Based on commit 45b40b2 in rpms/mariadb10.11 authored by Yaakov Selkowitz on Apr 8 2024
45b40b2e9c
2024-04-17 01:57:15 +02:00
Michal Schorm
c3fa8c48c1 Whitespace fix 2024-03-07 12:44:54 +01:00
Michal Schorm
06fc78c1d7 Remove architectures which are not supported by Fedora from conditionals 2024-03-06 10:35:53 +01:00
Michal Schorm
cc8a02280b Remove old code related 32-bit ARM architectures, which is not supported by Fedora anymore
https://fedoraproject.org/wiki/Changes/RetireARMv7
2024-03-05 14:34:19 +01:00
Honza Horak
af786c40e2 Do not provide community-mysql* symbols if alternative
When building the package as alternative (non default) version
for a distro, we should not have provides that are virtual and
without version. Otherwise, packages that depend on these
virtual provides (like build requires of perl-DBD-MySQL),
could install the non-default version by accident.
2024-02-19 16:32:38 +01:00
Lukas Javorsky
de06e0146b Renaming macro names to be more descriptive 2024-02-07 11:51:00 +00:00
Lukas Javorsky
178aa67c03 Bump the obsolete release number, due to high number of rebuilds 2024-02-07 09:43:43 +00:00
Lukas Javorsky
59a230df60 Apply demodularization 2024-02-06 13:22:59 +00:00
Lukas Javorsky
859da9f619 Remove arch specific provides for noarch subpackages
Also add Release to the Provides version, so it adhere the Packaging
Guidelines
2024-02-06 13:22:36 +00:00
Honza Horak
e7752d4c32 Use signal to flush logs when rotating
Using signals has a benefit over mysqladmin call that we don't need to care about password if root has some.

Related: https://issues.redhat.com/browse/RHEL-5470
2024-02-06 13:22:26 +00:00
Lukas Javorsky
f6259b3f09 Rebase to version 8.0.36 2024-02-06 13:21:09 +00:00
Lukas Javorsky
4bf4df5bdd Rename all patch files and specfile 2024-02-06 09:52:41 +00:00