Bug #69830 MySQL RPM no longer provides lower case tags
Submitted: 24 Jul 2013 9:47 Modified: 6 Sep 2013 18:08
Reporter: Rene Lieshout Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.6.13-1 OS:Linux (RPM)
Assigned to: Balasubramanian Kandasamy CPU Architecture:Any
Tags: rpm provides

[24 Jul 2013 9:47] Rene Lieshout
Description:
The RPM packages do not provide a lower case version of what they provide. Many packages depend on 'mysql-server' to be installed and not 'MySQL-server'.

Bug #57596 describes the same problem and should be fixed, although the current RPM's do now contain a lower case version. 

How to repeat:

rpm -qp --provides MySQL-client-5.6.12-2.el6.x86_64.rpm

* MySQL-client
* MySQL-client-advanced
* mysql
* MySQL-client = 5.6.12-2.el6
* MySQL-client(x86-64) = 5.6.12-2.el6

rpm -qp --provides  MySQL-devel-5.6.12-2.el6.x86_64.rpm

* MySQL-devel
* MySQL-devel-advanced
* MySQL-devel = 5.6.12-2.el6
* MySQL-devel(x86-64) = 5.6.12-2.el6

rpm -qp --provides  MySQL-embedded-5.6.12-2.el6.x86_64.rpm

* MySQL-embedded
* MySQL-embedded-advanced
* MySQL-embedded = 5.6.12-2.el6
* MySQL-embedded(x86-64) = 5.6.12-2.el6

rpm -qp --provides  MySQL-server-5.6.12-2.el6.x86_64.rpm

* MySQL
* MySQL-server
* MySQL-server-advanced
* adt_null.so()(64bit)
* auth.so()(64bit)
* auth_socket.so()(64bit)
* auth_test_plugin.so()(64bit)
* config(MySQL-server) = 5.6.12-2.el6
* innodb_engine.so()(64bit)
* libdaemon_example.so()(64bit)
* libmemcached.so()(64bit)
* msqlormysql
* mypluglib.so()(64bit)
* qa_auth_client.so()(64bit)
* qa_auth_interface.so()(64bit)
* qa_auth_server.so()(64bit)
* semisync_master.so()(64bit)
* semisync_slave.so()(64bit)
* validate_password.so()(64bit)
* MySQL-server = 5.6.12-2.el6
* MySQL-server(x86-64) = 5.6.12-2.el6

rpm -qp --provides  MySQL-shared-5.6.12-2.el6.x86_64.rpm

* MySQL-shared
* MySQL-shared-advanced
* libmysqlclient.so.18()(64bit)
* libmysqlclient.so.18(libmysqlclient_18)(64bit)
* MySQL-shared = 5.6.12-2.el6
* MySQL-shared(x86-64) = 5.6.12-2.el6

rpm -qp --provides  MySQL-shared-compat-5.6.12-2.el6.x86_64.rpm

* MySQL-shared-compat
* MySQL-shared-compat-advanced
* libmysqlclient.so.12()(64bit)
* libmysqlclient.so.14()(64bit)
* libmysqlclient.so.14(libmysqlclient_14)(64bit)
* libmysqlclient.so.15()(64bit)
* libmysqlclient.so.15(libmysqlclient_15)(64bit)
* libmysqlclient.so.16()(64bit)
* libmysqlclient.so.16(libmysqlclient_16)(64bit)
* libmysqlclient_r.so.12()(64bit)
* libmysqlclient_r.so.14()(64bit)
* libmysqlclient_r.so.14(libmysqlclient_14)(64bit)
* libmysqlclient_r.so.15()(64bit)
* libmysqlclient_r.so.15(libmysqlclient_15)(64bit)
* libmysqlclient_r.so.16()(64bit)
* libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
* mysql-libs
* MySQL-shared-compat = 5.6.12-2.el6
* MySQL-shared-compat(x86-64) = 5.6.12-2.el6

rpm -qp --provides MySQL-test-5.6.12-2.el6.x86_64.rpm

* MySQL-test
* MySQL-test-advanced
* MySQL-test = 5.6.12-2.el6
* MySQL-test(x86-64) = 5.6.12-2.el6

Suggested fix:
Add lower case provides in the RPM spec file 'Provides' tag
[24 Jul 2013 10:49] MySQL Verification Team
Hello Rene,

Thank you for the bug report. 
Verified as described.

Thanks,
Umesh
[5 Aug 2013 14:06] Rene Lieshout
Also applicable in 5.6.13-1
[6 Sep 2013 18:08] Paul DuBois
Noted in 5.5.34, 5.6.13, 5.7.3 changelogs.

RPM packages did not provide lowercase tags for their contents. For
example, a server RPM indicated that it provided MySQL-server, but
not mysql-server.