Commit Graph

604 Commits

Author SHA1 Message Date
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
Lukas Javorsky
164e60d4fa Add gating.yaml, so it's not missed in the next branching of RHEL 2024-04-15 13:34:54 +00: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
Lukas Javorsky
47c31c88f2 Renaming 'community-mysql' to 'mysql8.0' 2024-02-06 09:52:41 +00:00
Lukas Javorsky
9f79d3a6a2 Bump the release to 100
Prepare for a production build after large set of changes in 'mariadb', 'community-mysql' and 'mysql' packages
2024-02-06 09:52:41 +00:00
Lukas Javorsky
c8aa87d930 Add comment for better code understanding 2024-02-06 09:52:41 +00:00
Lukas Javorsky
16b5eee119 Change the if without conditions to prefered if ! with
Prefered conditions are described in RPM manual: https://rpm-software-management.github.io/rpm/manual/conditionalbuilds.html
2024-02-06 09:52:41 +00:00
Lukas Javorsky
78063eb661 LTO fails only on ARM32 not all ARM archs 2024-02-06 09:52:41 +00:00
Lukas Javorsky
04529e24b2 Change the bcod_with/out conditions to new bcond 1/0 2024-02-06 09:52:41 +00:00
Michal Schorm
068e37f35d F40 Change "MariaDB & MySQL repackaging" - Implement conflicts with 'mariadb' names and provide 'community-mysql' names
As per:
  https://fedoraproject.org/wiki/Changes/F40_MariaDB_MySQL_repackaging
specifically the parts:
 - Rename package 'community-mysql' to 'mysql' and Stop providing 'mysql' symbols by package 'mariadb'
 - Drop cross-installation functionality
2024-02-06 09:52:31 +00:00
Michal Schorm
6e17c080ef SPECfile enhancement - Make the 'mariadb-errmsg' and 'mariadb-common' sub-packages 'noarch'
The sub-package 'mariadb-common' contains XML files with character sets
The sub-package 'mariadb-errmsg' contains 'errmsg.sys' files with error messages for various laguages
2024-02-06 09:49:05 +00:00
Michal Schorm
9d579e10f2 SPECfile cleanup - move general code block to a more logical place 2024-02-05 18:56:06 +00:00
Michal Schorm
8a077c3962 SPECfile cleanup - use the unversioned docdirs in a clean and straightforward way 2024-02-05 18:56:06 +00:00
Michal Schorm
b1b14a1e11 SPECfile cleanup - patch configuration option has been upstreamed in 2016; #884755 2024-02-05 18:56:06 +00:00
Michal Schorm
be241fe6cb SPECfile cleanup - Remove single-purpose macro, especially when it holds the same value as another macro 2024-02-05 18:56:06 +00:00
Michal Schorm
fdceea6e72 SPECfile cleanup - Transform %require_mysql_selinux general macro to a control macro 2024-02-05 18:56:06 +00:00
Michal Schorm
82993239f3 SPECfile cleanup - Reformat for readability 2024-02-05 18:56:06 +00:00
Michal Schorm
95ebb07c15 SPECfile cleanup - assuming we're on Fedora or RHEL>=8 2024-02-05 18:56:06 +00:00
Pete Walter
904d38aa42 Rebuild for ICU 74 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
bf788a49a1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
ede3ca5453 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-02-05 16:59:56 +01:00
Florian Weimer
11b2c39c4d Fix int-conversion type error in memcached (#2255206)
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2024-02-05 16:59:56 +01:00
Michal Schorm
f2d1b815b9 Testsuite checked 2024-02-05 16:59:56 +01:00
Lars Tangvald
e7a0c313b5 Update to MySQL 8.0.35
Remove disabled test that is not present anymore to avoid:
  mysql-test-run: *** ERROR: Disabled test 'auth_sec.cipher_support' could not be located.
2024-02-05 16:59:56 +01:00
Lukas Javorsky
edd75fc1df Updated failing tests for 8.0.34 version 2024-02-05 16:59:56 +01:00
Lukas Javorsky
579c2ca216 migrated to SPDX license 2024-02-05 16:59:56 +01:00
Lars Tangvald
3004ae9e29 Update to MySQL 8.0.34 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
491aef38d9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:56 +01:00
František Zatloukal
2355896f37 Rebuilt for ICU 73.2 2024-02-05 16:59:56 +01:00
Michal Schorm
afc38114d9 Bump release for production build 2024-02-05 16:59:56 +01:00
Michal Schorm
051d29c993 Fix RPM syntax: '%patchN' has been deprecated
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VBFDPQHAHF3WG6WBZR2L5GSWMW6CVTJS/
2024-02-05 16:59:56 +01:00
Michal Schorm
d9d169d111 Tetsuite has been checked 2024-02-05 16:59:56 +01:00
Lars Tangvald
22f4e649a8 Update to MySQL 8.0.33
The GCC 13 patch has been upstreamed
2024-02-05 16:59:56 +01:00
Michal Schorm
9868644ec8 Update skipped test list for s390x 2024-02-05 16:59:56 +01:00
Michal Schorm
b1482097c9 revert the value of '--max-test-fail' option to a production setting 2024-02-05 16:59:56 +01:00
Michal Schorm
834e92e654 MySQL 8.0.32 testuite reviewed
Enabled more testsuite parallelization
I've tested that the builders will not deplete resources for this value

New bug discovered: #2165809
  "Testsuite suite 'query_rewrite_plugins' fails on Fedora 38 and later"
2024-02-05 16:59:56 +01:00
Michal Schorm
7bb776b952 Revert "WORKAROUND - disable testsuite until GCC 13 problems are fixed"
This reverts commit 61e419768d758f233dbbf02302ea8f8bd0a98eb1.
2024-02-05 16:59:56 +01:00
Yaakov Selkowitz
303a5e3af1 Fix build with GCC 13 for Fedora >= 38 2024-02-05 16:59:56 +01:00