Commit Graph

734 Commits

Author SHA1 Message Date
Michal Schorm d61a5d2f31 Move bits around, have all service files stuff together
Shouldn't bring any changes to functionality
2021-03-18 03:10:06 +01:00
Zbigniew Jędrzejewski-Szmek 14c9375f3f Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:31 +01:00
Michal Schorm 15e98d0c18 Remove old unapplied patch for Spider SE on armv7hl
The patch was originally a copy of an upstream commit fixing this issue
Now the commit is a part of the server codebase

https://jira.mariadb.org/browse/MDEV-18737
ddce859076

I stopped applying the patch with 10.5.0 release
2021-02-27 01:22:05 +01:00
Michal Schorm 33b0b7903b Rebase to 10.5.9 2021-02-24 14:43:35 +01:00
Lukas Javorsky 7d46a8244f Replace the tokudb Obsoletes to the right place
Resolves: #1928757
2021-02-16 16:57:15 +01:00
Michal Schorm f20aec3d3d Enhance the logrotate script as proposed in:
https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux/

Resolves: #1683981
2021-02-12 08:47:54 +01:00
Michal Schorm e5b5fcdcf7 MariaDB switched to using "DBD::MariaDB" Perl database driver instead of the "DBD::mysql" in MariaDB 10.5.0 version
Upstream issue:
  https://jira.mariadb.org/browse/MDEV-19755

Upstream commit:
  5cc2096f93 (diff-8576e5effae0770fc984e35e6749c43a8946489a1b478ce54facb3b9086622bf)

Scripts that rely on a specific driver won't work with differently named driver
Following scripts are affected:
  mysql_convert_table_format.sh
  mysql_setpermission.sh
  mysqlhotcopy.sh
  mytop.sh
as well as several tests for various components

So changing the required package to match the needs of the scripts

Testing:
Following command:
  mysql_setpermission --user=root --host=127.0.0.1 --port=3306
Would fail with:
  install_driver(MariaDB) failed: Can't locate DBD/MariaDB.pm in @INC (you may need to install the DBD::MariaDB module)
2021-02-12 07:11:11 +01:00
Michal Schorm 6279ba9cd7 Add missing dependency for the mariadb-test subpackage 2021-02-11 05:54:59 +01:00
Michal Schorm 5087a8f282 Add support for S3 storage engine 2021-02-10 14:14:46 +01:00
Michal Schorm 153eaac4b2 Revert "For compatibility with upstream RPMs, create symlinks to "mysql*" named systemd services"
This reverts commit 7c52598552.

Wee need to discuss this further.
2021-02-02 16:07:12 +01:00
Michal Schorm a475c7ef2f Fix port range calculation formula for the testsuite
It was discovered, that the each number results to 20 ports range selected, instead of 10 ports range, so the maximum number must be divided by 2.
2021-02-02 15:34:16 +01:00
Michal Schorm f45638f43a Remove README.mysql-cnf
The example configuration files, located in "/usr/share/mariadb/", named "*.cnf"
were dropped in MariaDB 10.3 and we haven't shipped them since
2021-02-01 01:33:17 +01:00
Michal Schorm d282b9922b Allow to run the test-suite in parallel when more versions are built 2021-02-01 00:40:49 +01:00
Michal Schorm 7c52598552 For compatibility with upstream RPMs, create symlinks to "mysql*" named systemd services 2021-02-01 00:38:04 +01:00
Honza Horak e586e88803 For compatibility with upstream RPMs, create mysqld symlink in sbin 2021-01-29 09:36:04 +01:00
Honza Horak 3b1a6d2020 Remove a dangling symlink after tests end
Related: #1903659

RPMDiff issue says:
File opt/rh/rh-mariadb105/root/usr/share/mysql-test/var is a dangling symlink (to /dev/shm/var_64_BuRk) on x86_64
2021-01-28 16:52:21 +01:00
Fedora Release Engineering 862568e0f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 19:15:47 +00:00
Lukas Javorsky 67fe36f42d Resolve tokudb-engine deprecated problem
BZ#1906559
2021-01-12 13:32:18 +01:00
Tom Stellard 69cb3d49af Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-06 21:27:25 +00:00
Michal Schorm 95e69a74bc Merge branch '10.5'
Introducing MariaDB 10.5 into Rawhide as per:
https://fedoraproject.org/wiki/Changes/MariaDB_10.5
2020-12-07 08:58:12 +01:00
Michal Schorm e88cf6fb71 Specfile cleanup
- fix conditions for building minimal server
- fix expected logfile permissions, so `rpm -V` would be satisfied
2020-12-07 08:48:44 +01:00
Michal Schorm 6cec766bc6 Add description of the 'clustercheck.sh' script 2020-12-07 08:48:31 +01:00
Michal Schorm 066989316d Specfile cleanup
- fix conditions for building minimal server
- fix expected logfile permissions, so `rpm -V` would be satisfied
2020-11-12 03:43:13 +01:00
Michal Schorm 8c1b8ae695 Rebase to 10.5.8 2020-11-12 01:51:15 +01:00
Michal Schorm bda74cd11c Rebase to 10.4.17 2020-11-11 22:48:52 +01:00
Michal Schorm 51b8f2af1b Rebase to 10.5.7 2020-11-06 03:42:13 +01:00
Michal Schorm 37f1f439cf Rebase to 10.4.16 2020-11-04 21:26:16 +01:00
Michal Schorm d79c9e348d Add description of the 'clustercheck.sh' script 2020-10-29 18:45:30 +01:00
Michal Schorm 405df6a0a5 Add workaround for https://pagure.io/fm-orchestrator/issue/1614 2020-10-22 15:13:57 +02:00
Michal Schorm 04c626f762 Fix of mariadb-ownsetup patch. Since we do CMake out-of-source builds, and the SOURCE and BUILD directiories differ, the bug that was present in the patch started to cause a issues.
In the CMake "CONFIGURE_FILE(<input> <output>)" command, the <input> path is treated relative to SOURCE dir, however the <output> patch is relative to BUILD dir.
Since the file has been copied to a wrong location, instead in-place updated as originally intended, the file that was later installed was the original unchanged file.

Resolves: #1873999, #1874446

Fix mariadb-pcdir.patch hunk
2020-10-22 14:02:19 +02:00
Lukas Javorsky 21e76c8255 Rebase to 10.5.5
Add manual for aria_s3_copy
2020-10-22 14:02:19 +02:00
Lukas Javorsky 2b8b704762 Rebase to 10.5.4 2020-10-22 14:02:19 +02:00
Lukas Javorsky be6da51b15 Rebase to 10.5.3
Add failing tests
2020-10-22 14:02:19 +02:00
Michal Schorm 8d4561c7a1 Rebase to 10.5.2 - Beta
TokuDB SE has been deprecated https://jira.mariadb.org/browse/MDEV-19780
Remove the RocksDB manpage when RocksDB is not built
Add failing tests
2020-10-22 14:02:19 +02:00
Michal Schorm a35e17b2cb Rebase to 10.5.1 - Beta Update to build against PCRE2 2020-10-22 14:02:19 +02:00
Michal Schorm 1dd39c3767 Rebase to 10.5.0 - Alpha 2020-10-22 14:02:19 +02:00
Michal Schorm da6d1476e3 Merge branch '10.5' 2020-10-22 13:55:43 +02:00
Michal Schorm 5fc6992062 HOUSEKEEPING COMMIT - get to the same content as 'master' 4e9605 2020-10-22 13:54:39 +02:00
Michal Schorm 4e960545a8 The testsuite passed several times on all architectures
Switch to the basic set until new upstream release
2020-09-06 23:21:38 +02:00
Michal Schorm 81a4f8d04e Fix building when built with "%bcond_with test"
(which means: without the testsuite)
2020-09-06 23:21:29 +02:00
Michal Schorm 76e6c4c773 Fix of mariadb-ownsetup patch.
Since we do CMake out-of-source builds, and the SOURCE and BUILD directiories differ, the bug that was present in the patch started to cause a issues.

In the CMake "CONFIGURE_FILE(<input> <output>)" command, the <input> path is treated relative to SOURCE dir, however the <output> patch is relative to BUILD dir.
Since the file has been copied to a wrong location, instead in-place updated as originally intended, the file that was later installed was the original unchanged file.

Resolves: #1873999, #1874446
2020-09-03 13:41:45 +02:00
Michal Schorm 35b4fa67d9 Add failing tests for 10.4.14 2020-08-21 09:42:35 +02:00
Michal Schorm 24c0e12fb3 Rebase to 10.4.14 2020-08-20 14:12:14 +02:00
Michal Schorm c031558f68 Do CMake out-of-source builds
Force the CMake change regarding the in-source builds also to F31 and F32
Use CMake macros instead of cmake & make direct commands
%%cmake macro covers the %%{set_build_flags}, so they are not needed
Other changes to compile flags must be specified *after* the %%cmake macro
2020-08-18 14:59:54 +02:00
Carl George 0691fec148 Update expected bundled PCRE version
c1291d7a6b
2020-08-07 10:49:30 +00:00
Carl George aace92178f Move mysqld_safe_helper back to server subpackage
mysqld_safe is a script that calls the mysqld_safe_helper binary, so
being able to install one without the other doesn't make sense.
2020-08-07 10:47:24 +00:00
Carl George 8dd95cd3f6 Fix %ifarch usage
When rebuilding mariadb on EL7, I noticed that tokudb, mroonga, and
rocksdb were enabled, despite what this conditional appears to do.
After some experimentation, I can see that %ifarch does not support
appending another conditional with &&.  To achieve the desired logic,
the statement must be separate conditionals.
2020-08-07 10:45:06 +00:00
Jeff Law cdfc0ff977 Disable LTO 2020-08-05 14:26:56 -06:00
Fedora Release Engineering 70dd4cf2bc - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 04:24:00 +00:00
Fedora Release Engineering 1fa717acc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 06:52:51 +00:00