Commit Graph

565 Commits

Author SHA1 Message Date
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
8c1b8ae695 Rebase to 10.5.8 2020-11-12 01:51:15 +01:00
Michal Schorm
51b8f2af1b Rebase to 10.5.7 2020-11-06 03:42:13 +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
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
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
0691fec148 Update expected bundled PCRE version
c1291d7a6b
2020-08-07 10:49:30 +00:00
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
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
Michal Schorm
53d9ba46f0 Make conflicts between corresponding mariadb and mysql packages explicit
Get rid of the Conflicts macro, it was intended to mark conflicts with *upstream* packages
2020-07-14 15:04:03 +02:00
Michal Schorm
d8b968613a Extend Perl "Requires" filtering to wsrep
Resolves: #1845376
2020-06-18 12:55:01 +02:00
Michal Schorm
43456681ea Remove PCDIR patch, upstreamed (in a way)
The upstream now defaults to the location we need, although the server pkgconfig file location is still NOT configurable.
The CMake INSTALL_PCDIR option affects only the client library pkgconfig file location.
2020-06-09 13:12:19 +02:00
Michal Schorm
99964e0b7f Minor tweaks
- use %ifarch consistently through the SPECfile
- update minimal PCRE version needed
- reword %prep section (move all removals to one place)
2020-06-08 10:25:56 +02:00
Michal Schorm
5df7c2e7c7 The testsuite for 10.4.13 has been tested.
There was one randomly failing test: "spider/bugfix.wait_timeout"
2020-06-08 10:25:56 +02:00
Michal Schorm
383e14b547 Rebase to 10.4.13
Patch mariadb-pythonver upstreamed (upstream now use only python 3)
2020-06-08 10:25:56 +02:00
Lukas Javorsky
e0f7005539 Add mariadb_rpl.h to deleted libraries from devel package 2020-05-24 10:48:58 +02:00
Björn Esser
6fa3c4c473
Bump release 2020-04-02 13:32:14 +02:00
Björn Esser
333a690a99
Fix string quoting for rpm >= 4.16 2020-04-02 13:05:45 +02:00
Jitka Plesnikova
3731874e5e Add perl dependencies needed for tests 2020-03-27 08:37:56 +01:00
Michal Schorm
5ef66fdfa5 Rebase mariadb-connector-c git submodule to commit fbf1db6
For fix: https://jira.mariadb.org/browse/CONC-441
2020-03-16 11:41:19 +01:00
Michal Schorm
0e21d7319c Update the fix for building in the debug mode
Upstream tracker: https://jira.mariadb.org/browse/MDEV-19740
2020-03-10 09:29:49 +01:00
Michal Schorm
55406c8293 Rebase to 10.4.12 2020-02-07 14:34:26 +01:00
Fedora Release Engineering
ced66e28de - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 12:03:48 +00:00
Michal Schorm
eb74a37ccc Rebase to 10.4.11 - Fix Galera Replication config file
The replication requires cluster address upon startup (which is end-user specific)
 Disable it entirely, rather than have it failing out-of-the-box
2020-01-19 14:08:44 +01:00
Michal Schorm
b1bc71c1ac Rebase to 10.4.11 - minor tweaks
* Use Valgrind for debug builds
* Remove ancient obsoletions
* Tweak build flags
* Add patch for auth_pam_tool directory
2020-01-19 14:08:37 +01:00
Michal Schorm
ba578ea6c3 Rebase to 10.4.11 - remove the 'bench' subpackage 2020-01-19 14:05:13 +01:00
Michal Schorm
6139b95eb5 Rebase 10.4.11 - pack 'mariadb' names symlinks 2020-01-17 18:14:15 +01:00
Michal Schorm
5aff5f09e6 Rebase to 10.4.11 [INCOMPLETE] 2020-01-17 10:31:55 +01:00
Michal Schorm
42251457ba Rebase to 10.3.21 2020-01-10 04:24:50 +01:00
Michal Schorm
e777213c88 Fix building without gssapi plugin 2020-01-10 01:53:54 +01:00
Michal Schorm
8bb54775ea Bump last tested major version number 2019-11-26 13:56:16 +01:00
Lukas Javorsky
81e52111e8 Fix conflicting files with groonga package
bz#1763287
Change path to groonga's packaged files
2019-11-18 15:17:26 +01:00
Michal Schorm
19d30aa668 Rebuild on top fo new mariadb-connector-c 2019-11-12 15:53:47 +01:00
Michal Schorm
663c4792c0 Rebase to 10.3.20 2019-11-11 11:52:05 +01:00
Michal Schorm
c11af443b2 Rebase to 10.3.19
Drop patch for mysqld_safe, fixed by upstream.
2019-11-06 15:15:54 +01:00
f7802f9b05 Rebase to 10.3.18 2019-10-31 15:47:00 -05:00
Michal Schorm
c870dc4d2c Extend the testsuite execution plan 2019-09-17 14:00:40 +02:00
Michal Schorm
59f05ba2ef Disable building of the ed25519 client plugin.
From now on it will be shipped by 'mariadb-connector-c' package
2019-09-11 13:01:30 +02:00
Michal Schorm
83045a5883 Fix the debug build 2019-09-06 04:31:21 +02:00
Michal Schorm
0f80301261 Rebase to 10.3.17 2019-08-01 20:42:47 +02:00
Fedora Release Engineering
4035a62c62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 15:53:07 +00:00
Michal Schorm
b0584894e4 Update build macros 2019-07-20 01:03:08 +02:00
Michal Schorm
8bf3a7d827 Rebase to 10.3.16
Added patch for armv7hl builds of spider SE
2019-06-18 22:35:37 +02:00
Michal Schorm
3a7d1f945d Rebase to 10.3.15 2019-06-12 12:27:35 +02:00
Michal Schorm
1f5de3828b Update after F28 EOL
Remove Cassandra SE; it is no longer developed: https://mariadb.com/kb/en/library/cassandra-storage-engine-overview
Fix typos
Remove unnecessary -fPIC; it is already applied by cmake SECURITY_HARDENED option
Update dead hypertext links
Stop providing "mariadb-galera"
Remove comments after %endif to comply with RPM syntax
2019-06-11 19:56:39 +02:00
Michal Schorm
f5eb0b7c4d Fix building with / without lz4 2019-05-10 04:53:11 +02:00
Michal Schorm
40688c3365 Fix building of TokuDB with Jemalloc 5 2019-05-10 03:48:29 +02:00
df9d3ff3d8 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.
2019-05-06 11:10:51 +02:00
43e63f83db Use logrotateddir macro in one more spot 2019-05-03 22:32:37 -05:00
Michal Schorm
fe4891c5b8 Add patch for mysqld_safe --dry-run 2019-03-21 11:42:39 +01:00
Michal Schorm
943502fb6d Add patch for server pkgconfig file location 2019-03-20 18:26:16 +01:00
Pavel Raiskup
cbeee534b2 conditionally depend on selinux-policy-targeted again
Related: rhbz#1665643
Version: 10.3.12-11
2019-02-23 10:57:40 +01:00
Michal Schorm
44e21fbd64 Disable again the 'mysql-selinux' requirement. Bug remained, #1665643 2019-02-11 10:57:32 +01:00
Fedora Release Engineering
6ec65c33b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 09:39:27 +00:00
Honza Horak
73b0cf5ba2 Fix several SSL tests that failed because of different SSL cipher expectation 2019-01-30 07:29:00 +01:00
Michal Schorm
fba85c10dd Fix TokuDB Jemalloc ld_preload; #1668375
Tweak macros usage
2019-01-23 19:46:37 +01:00
Michal Schorm
4ea2bb47f2 Change weak dependency of RocksDB and TokuDB storage engines from Recommends to Suggests
Add "Suggests" weak dependencies to more storage engines
2019-01-21 13:56:44 +01:00
Michal Schorm
a444b291f8 Tweak the testsuite execution, speed up the testsuite on rebuilds
Enable mysql-selinux requirement
2019-01-21 13:37:56 +01:00
4cd2a4be54 Fix ggsapi typo 2019-01-17 10:48:21 -06:00
Michal Schorm
4c38589fa0 Update commands for newer CMake 2019-01-17 10:48:44 +01:00
Michal Schorm
49fab2f9ee Tweak handling of the mysql-selinux requirement 2019-01-16 12:48:02 +01:00
Björn Esser
e00d26b60c
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:08:29 +01:00
Kevin Fenzi
e5d3c93536 Drop mysql-selinux recommends for now due to bug #1665643 2019-01-11 17:17:14 -08:00
Honza Horak
4f1f8bb5b6 Use specific python shebang 2019-01-09 21:47:58 +01:00
Michal Schorm
e9dc01434b Rebase to 10.3.12 2019-01-09 09:57:45 +01:00
Michal Schorm
af148a5cec Add a weak dependence on a 'mysql-selinux' package 2019-01-06 03:16:37 +01:00
Michal Schorm
9a804d72e6 Remove ppc64 optimization which is no longer necessary 2018-12-15 08:02:31 +01:00
Michal Schorm
16e19df2b4 Rebase to 10.3.11 2018-12-10 13:21:07 +01:00
Michal Schorm
412ec98179 Update RPMLint blacklist 2018-10-22 15:37:32 +02:00
Michal Schorm
388f0ad7a8 Fix the debug build 2018-10-11 03:26:03 +02:00
Michal Schorm
5fd21bc1a6 Set Galera build options advised by the MariaDB documentation 2018-10-08 13:08:59 +02:00
Michal Schorm
7e676213ef Rebase to 10.3.10 2018-10-05 19:44:01 +02:00
Michal Schorm
fb9e3c56f0 Update RPMLint whitelist 2018-09-05 05:52:52 +02:00
Michal Schorm
2ce9d21e23 Fix parallel installability of x86_64 and i686 devel packages 2018-09-04 17:18:09 +02:00
Michal Schorm
293580d0b2 Use explicit "openssl-devel" again 2018-08-22 17:06:59 +02:00
Michal Schorm
e7b1a35ce0 Rebase to 10.3.9 2018-08-22 10:35:55 +02:00
Petr Lautrbach
5e6fd0f190 Update mariadb-server-galera sub-package to require the correct package with /usr/sbin/semanage
/usr/sbin/semanage was moved to policycoreutils-python-utils in Fedora
2018-08-10 09:36:12 +02:00
Honza Horak
a77eaad072 Do not build config on systems where mariadb-connector-c-config exists instead 2018-07-25 08:53:34 +02:00
Honza Horak
b9c8da27f2 Move config files mysql-clients.cnf and enable_encryption.preset to correct
sub-packages, similar to what upstream does
2018-07-18 00:39:30 +02:00
Fedora Release Engineering
5ea47737e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 09:47:31 +00:00
Michal Schorm
ecb40d449c Rebase to 10.3.8
Removal of the galera patch, it has been upstreamed
Build TokuDB with jemalloc; jemalloc 5 support introduced by upstream; #1583853
Allow very few tests to fail the testsuite; this won't block builds on unstable tests
2018-07-10 19:49:34 +02:00
Michal Schorm
ed2eba3105 Update Summary to match the upstream's 2018-06-28 11:19:53 +02:00
Michal Schorm
de46359584 Remove the --mem option for the testsuite. KOJI does not have enough RAM for it
(Errcode: 28 "No space left on device")
2018-06-28 00:52:27 +02:00
Michal Schorm
5007ecd667 Fix log rotation
Add forgotten 10.3.7 changelog entry
Remove galera and mysql obsoletion
Tweak the testsuite runs
Fix files section when build with test subpackage but without embedded subpackage
2018-06-27 21:35:06 +02:00
Michal Schorm
c4a60779cc The test is no longer present 2018-06-22 00:06:22 +02:00
Michal Schorm
6d5dc963e2 Rebase to 10.3.7
Merge branch 'private-10.3-COPR'
2018-06-21 23:09:09 +02:00