Skip to content

Commit 8e0b913

Browse files
committed
Bug#31584093 CLIENT PLUGINS NOT INSTALLED AFTER INSTALLING MYSQL CLIENT LIBRARY FROM RPM/DEB
Create new subpackage client-plugins to hold client side plugins, this way client, libs or connectors can get client plugins as needed. Now Connector-cpp has been modified to depend on this client-plugins package.
1 parent 96a6731 commit 8e0b913

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packaging/deb-in/control.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Architecture: any
1111
Section: libs
1212
Pre-Depends: ${misc:Pre-Depends}
1313
Multi-Arch: same
14-
Depends: ${shlibs:Depends}, ${misc:Depends}
14+
Depends: ${shlibs:Depends}, ${misc:Depends},
15+
mysql@DEB_PRODUCTNAME@-client-plugins,
1516
Description: MySQL database connector for C++
1617
A C++ interface for communicating with MySQL servers.
1718

packaging/mysql-connector-c++.spec.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
%if 0%{?suse_version} == 1500
4343
%global dist .sl15
4444
%endif
45+
%define debug_package %{nil}
4546
%global source_date_epoch_from_changelog 0
4647
Summary: MySQL database connector for C++
4748
Name: mysql-connector-c++%{?product_suffix}
@@ -69,6 +70,11 @@ BuildRequires: gcc-c++
6970
%{!?mysql_dir:BuildRequires: mysql-devel}
7071
BuildRequires: openssl-devel
7172
%{?commercial:Obsoletes: mysql-connector-c++ < %{version}-%{release}}
73+
%if 0%{?commercial}
74+
Requires: mysql-commercial-client-plugins = %{version}
75+
%else
76+
Requires: mysql-community-client-plugins = %{version}
77+
%endif
7278
%description
7379
A C++ interface for communicating with MySQL servers.
7480
%package jdbc
@@ -200,6 +206,8 @@ rm %{buildroot}/usr/{INFO_SRC,INFO_BIN}
200206
%{_libdir}/mysql-cppconn-8/static/CTestTestfile.cmake
201207
%endif
202208
%changelog
209+
* Tue Jun 30 2020 Sreedhar S <[email protected]> - 8.0.22-1
210+
- Updated the dependency list to use server's client-plugin package
203211
* Thu Jun 04 2020 Sreedhar S <[email protected]> - 8.0.22-1
204212
- Updated the compliers for el|678 to match server builds
205213
* Thu Jun 04 2020 Gipson Pulla <[email protected]> - 8.0.21-1

0 commit comments

Comments
 (0)