Use obosletes of "-libs" in "-common", if built without client library part

This commit is contained in:
Michal Schorm 2017-09-26 13:21:24 +02:00
parent 3ae3c01b3f
commit fe537064ba
1 changed files with 8 additions and 2 deletions

View File

@ -126,7 +126,7 @@
Name: mariadb Name: mariadb
Version: %{compatver}.%{bugfixver} Version: %{compatver}.%{bugfixver}
Release: 4%{?with_debug:.debug}%{?dist} Release: 5%{?with_debug:.debug}%{?dist}
Epoch: 3 Epoch: 3
Summary: A community developed branch of MySQL Summary: A community developed branch of MySQL
@ -352,6 +352,11 @@ Requires: %{_sysconfdir}/my.cnf
Provides: mariadb-galera-common = %{sameevr} Provides: mariadb-galera-common = %{sameevr}
Obsoletes: mariadb-galera-common < %{obsoleted_mariadb_galera_common_evr} Obsoletes: mariadb-galera-common < %{obsoleted_mariadb_galera_common_evr}
%if %{without clibrary}
Obsoletes: %{name}-libs%{?_isa} <= %{sameevr}
%endif
%description common %description common
The package provides the essential shared files for any MariaDB program. The package provides the essential shared files for any MariaDB program.
You will need to install this package to use any other MariaDB package. You will need to install this package to use any other MariaDB package.
@ -1472,10 +1477,11 @@ fi
%endif %endif
%changelog %changelog
* Wed Sep 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.8-4 * Wed Sep 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.8-5
- Fix building without client library part - Fix building without client library part
- Start building mariadb without client library part, - Start building mariadb without client library part,
use mariadb-connector-c package >= 3.0 instead use mariadb-connector-c package >= 3.0 instead
- Use obosletes of "-libs" in "-common", if built without client library part
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-2 * Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-2
- Fix paths in galera_recovery and galera_new_cluster - Fix paths in galera_recovery and galera_new_cluster