Obsolate mariadb-galera & mariadb-galera-server (thanks Tomas Repik)

Resolves: #1279753
This commit is contained in:
Honza Horak 2016-02-11 10:35:49 +01:00
parent a97ddad354
commit d43c4315ab

View File

@ -106,6 +106,11 @@
%global obsoleted_mysql_evr 5.6-0
%global obsoleted_mysql_case_evr 5.5.30-5
# The evr of mariadb-galera we want to obsolete
%global obsoleted_mariadb_galera_evr 10.0.17-6
%global obsoleted_mariadb_galera_common_evr 5.5.36-10
%global obsoleted_mariadb_galera_server_evr 10.0.17-6
# Provide mysql names for compatibility
%bcond_without mysql_names
%bcond_without conflicts
@ -213,6 +218,10 @@ Provides: mysql-compat-client%{?_isa} = %{sameevr}
%{?obsoleted_mysql_evr:Obsoletes: mysql < %{obsoleted_mysql_evr}}
%{?with_conflicts:Conflicts: community-mysql}
# obsolation of mariadb-galera
Provides: mariadb-galera = %{sameevr}
Obsoletes: mariadb-galera < %{obsolated_mariadb_galera_evr}
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
@ -270,6 +279,10 @@ Summary: The shared files required by server and client
Group: Applications/Databases
Requires: %{_sysconfdir}/my.cnf
# obsolation of mariadb-galera-common
Provides: mariadb-galera-common = %{sameevr}
Obsoletes: mariadb-galera-common < %{obsolated_mariadb_galera_common_evr}
%description common
The package provides the essential shared files for any MariaDB program.
You will need to install this package to use any other MariaDB package.
@ -333,6 +346,10 @@ Provides: mysql-compat-server%{?_isa} = %{sameevr}
%{?with_conflicts:Conflicts: mariadb-galera-server}
%{?obsoleted_mysql_evr:Obsoletes: mysql-server < %{obsoleted_mysql_evr}}
# obsolation of mariadb-galera-server
Provides: mariadb-galera-server = %{sameevr}
Obsoletes: mariadb-galera-server < %{obsolated_mariadb_galera_server_evr}
%description server
MariaDB is a multi-user, multi-threaded SQL database server. It is a
client/server implementation consisting of a server daemon (mysqld)
@ -1189,6 +1206,8 @@ fi
%changelog
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-5
- Add missing requirements for proper wsrep functionality
- Obsolate mariadb-galera & mariadb-galera-server (thanks Tomas Repik)
Resolves: #1279753
* Mon Feb 08 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-4
- Use systemd unit file more compatible with upstream