Commit Graph

593 Commits

Author SHA1 Message Date
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
Michal Schorm
290ae2f2bc Fixup - keep changelog in chronological order 2024-02-05 16:59:56 +01:00
Michal Schorm
28f83f4ce7 WORKAROUND - disable testsuite until GCC 13 problems are fixed 2024-02-05 16:59:56 +01:00
Lars Tangvald
ea70b8e9cd Update to MySQL 8.0.32 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
ef905729e0 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:56 +01:00
Pete Walter
0bfeb883f4 Rebuild for ICU 72 2024-02-05 16:59:56 +01:00
Michal Schorm
5c1506c375 WORKAROUND - testsuite issues
Dissable running the testuite in memory to workaround OOM problem.
Disable testsuite parallelization to allow tests to pass on ppc64le too.

These issues are believed to originate in Koji build system and are present
mainly in the Rawhide (F38) buildroot.
F36 buildroot seems to be most stable out of the current ones.
2024-02-05 16:59:56 +01:00
Lars Tangvald
c140b47963 Update to MySQL 8.0.31 2024-02-05 16:59:56 +01:00
Michal Schorm
e1c6e901fc Release bump for rebuild 2024-02-05 16:59:56 +01:00
Michal Schorm
834d920e34 Fix the logrotate file [2]
In one of the previous commits, I've started to pack a different logrotate file
as it contains the correct path to the logfile of the mysql server.

It has been found, that I've overlooked that the filepath to the mysql server
was still set wrongly.
It was set to a:     '/var/log/mysqld.log'
Instead of expected: '/var/log/mysql/mysql.log'

This path is added to the mysql logrotate configuration file via CMAKE variable
substitution.
However since we haven't specify the variable value,
a default value has been used instead.

The fix to this issue was simple - specify the variable value as the CMAKE
command argument.

--

At the same time, we were using a custom (downstream) variable meant to hold
the same information. We used this variable for generating the correct filepath
to the mysql server logfile in the mysql server configuration file.

Instead of using two different CMAKE variables with the same meaning,
I've changed it so we get rid of the downstream specified variable
and use the upstream specified variable instead.

--

The positive effect is the de-duplication of code and assurance that when we
set the value, it is used everywhere - both in the upstream code and in the
downstream patches.

The tiny negative effect is that at this moment, the names of the variables
differ to the we use in 'mariadb' package.
2024-02-05 16:59:56 +01:00
Michal Schorm
943dd0962b Release bump for rebuild 2024-02-05 16:59:56 +01:00
Michal Schorm
003c6a0ff6 Fix RPM error: %changelog not in descending chronological order 2024-02-05 16:59:56 +01:00