spec: drop misleading provides

Per repoquery done on Rawhide, there are some package depending on
this soname:

    cherokee-0:1.2.104-1.fc25.x86_64
    dpsearch-0:4.54-0.8.20140109snap.fc26.x86_64
    dpsearch-devel-0:4.54-0.8.20140109snap.fc26.x86_64
    libgda-mysql-1:5.2.2-11.fc24.x86_64
    mysql-connector-odbc-0:5.3.4-6.fc26.x86_64
    nagios-plugins-mysql-0:2.2.1-2git.fc27.x86_64
    perdition-mysql-0:2.1-7.fc26.x86_64
    resiprocate-libs-0:1.10.2-26.fc25.x86_64

But those are obviously builds from <= F27 (rawhide should have
F28).  So it means there's some FTBFS anyways.  Since we don't
provide libmysqlclient.so.18, even not as an symlink to existing
library, there's no point in having this fake provide.
This commit is contained in:
Pavel Raiskup 2017-11-14 16:14:14 +01:00
parent ed31588ef5
commit 76721c606e

View File

@ -1,6 +1,6 @@
Name: mariadb-connector-c
Version: 3.0.2
Release: 19%{?dist}
Release: 20%{?dist}
Summary: The MariaDB Native Client library (C driver)
Group: Applications/Databases
License: LGPLv2+
@ -24,16 +24,6 @@ BuildRequires: libcurl-devel
# Patch for "-DINSTALL_LAYOUT=RPM" and mariadb_config
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.
@ -166,6 +156,9 @@ end
# https://jira.mariadb.org/browse/MDEV-13836
%changelog
* Tue Nov 14 2017 Pavel Raiskup <praiskup@redhat.com> - 3.0.2-19
- drop misleading provides
* Wed Nov 08 2017 Michal Schorm <mschorm@redhat.com> - 3.0.2-19
- Move the scriptlet to the correct package