Accepting request 943208 from home:dspinella:branches:server:database

- Build mariadb-galera on SLE
- Add dependency on galera-4 for mariadb-galera
- Remove old constraints for mariadb-galera

OBS-URL: https://build.opensuse.org/request/show/943208
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=290
This commit is contained in:
Lars Vogdt 2022-01-01 17:38:31 +00:00 committed by Git OBS Bridge
parent 58e2e015ef
commit b5b3c55805
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 30 12:01:56 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
- Build mariadb-galera on SLE
- Add dependency on galera-4 for mariadb-galera
- Remove old constraints for mariadb-galera
-------------------------------------------------------------------
Mon Nov 22 10:48:54 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>

View File

@ -36,7 +36,9 @@
%define with_mroonga 0
%define with_rocksdb 0
%endif
%if 0%{?is_opensuse}
# Build galera on SLE. Galera requires mariadb >= 10.5, so only
# build it on SLE15SP3 onwards
%if 0%{?is_opensuse} || 0%{?sle_version} >= 150300
%bcond_without galera
%else
%bcond_with galera
@ -245,19 +247,12 @@ This package contains the standard clients for MariaDB.
Summary: The configuration files and scripts for galera replication
Group: Productivity/Databases/Tools
Requires: %{name} = %{version}
# galera-3 is not in openSUSE:Factory now
#Requires: galera-3 >= 25.3.18
Requires: galera-4
Requires: iproute2
Requires: lsof
Requires: rsync
Requires: socat
Requires: which
# We need Conflicts here as galera_new_cluster (and use_galera_new_cluster.conf)
# and galera_recovery scripts were in mariadb package but now they are in galera
# subpackage
Conflicts: mariadb <= 10.1.25
# wsrep_* scripts were in mariadb-tools subpackage but now they are in galera subpackage
Conflicts: mariadb-tools <= 10.1.25
%description galera
This package contains configuration files and scripts that are