diff --git a/mariadb.changes b/mariadb.changes index 4c38091..5084930 100644 --- a/mariadb.changes +++ b/mariadb.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 30 12:01:56 UTC 2021 - Danilo Spinella + +- 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 diff --git a/mariadb.spec b/mariadb.spec index 654aa6c..f647ca4 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -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