diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec index e2f1392..ce2bcbb 100644 --- a/mariadb-connector-c.spec +++ b/mariadb-connector-c.spec @@ -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 - 3.0.2-6 -- move header files to the same location, as they would be in mariadb-server +* Wed Sep 13 2017 Michal Schorm - 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 - 3.0.2-5 - Remove a symlink /usr/lib64/mysql that conflicts with mariadb-libs