Add provides "libmysqlclient.so"

This commit is contained in:
Michal Schorm 2017-09-17 03:33:25 +02:00
parent 2d579942dc
commit f1c2799361

View File

@ -1,6 +1,6 @@
Name: mariadb-connector-c
Version: 3.0.2
Release: 6%{?dist}
Release: 7%{?dist}
Summary: The MariaDB Native Client library (C driver)
Group: Applications/Databases
License: LGPLv2+
@ -19,6 +19,16 @@ BuildRequires: libcurl-devel
# Patch for "-DINSTALL_LAYOUT=RPM"
Patch1: cmake.patch
%if 0%{?__isa_bits} == 64
Provides: libmysqlclient.so.18()(64bit)
Provides: libmysqlclient.so.18(libmysqlclient_16)(64bit)
Provides: libmysqlclient.so.18(libmysqlclient_18)(64bit)
%else
Provides: libmysqlclient.so.18
Provides: libmysqlclient.so.18(libmysqlclient_16)
Provides: libmysqlclient.so.18(libmysqlclient_18)
%endif # isa_bits
%description
The MariaDB Native Client library (C driver) is used to connect applications
developed in C/C++ to MariaDB and MySQL databases.
@ -107,8 +117,9 @@ mv %{buildroot}%{_includedir}/temporary %{buildroot}%{_includedir}/mysql
%license COPYING.LIB
%changelog
* Wed Sep 13 2017 Michal Schorm <mschorm@redhat.com> - 3.0.2-6
- move header files to the same location, as they would be in mariadb-server
* Wed Sep 13 2017 Michal Schorm <mschorm@redhat.com> - 3.0.2-7
- Move header files to the same location, as they would be in mariadb-server
- Add provides "libmysqlclient.so"
* Tue Sep 05 2017 Honza Horak <hhorak@redhat.com> - 3.0.2-5
- Remove a symlink /usr/lib64/mysql that conflicts with mariadb-libs