| Bug #49723 | support-files/mysql.spec.sh has unwanted Perl dependencies | ||
|---|---|---|---|
| Submitted: | 15 Dec 2009 20:32 | Modified: | 28 Sep 2010 20:04 |
| Reporter: | Timothy Smith | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
| Version: | 5.0+ | OS: | Linux |
| Assigned to: | Jonathan Perkin | CPU Architecture: | Any |
[28 Sep 2010 15:16]
Jonathan Perkin
This is fixed since 5.5.5, which was the first release to use the new unified RPM spec along with CMake-based releases. The unified RPM spec includes the fixes from the old 'specific' spec file.
[28 Sep 2010 20:04]
Paul DuBois
Noted in 5.5.5 changelog. support-files/mysql.spec.sh had unnecessary Perl dependencies.

Description: The RPM spec file (support-files/mysql.spec.sh) in our source tree does not include a fix for unwanted Perl dependencies. This results in the following when trying to install RPMs on a host that does not have perl DBI installed: error: Failed dependencies: libmysqlclient.so.15 is needed by MySQL-client-5.0.89-0.glibc23.i386 libmysqlclient.so.15(libmysqlclient_15) is needed by MySQL-client-5.0.89-0.glibc23.i386 perl(DBI) is needed by MySQL-client-5.0.89-0.glibc23.i386 Suggested resolutions: perl-DBI-1.40-5.i386.rpm See also Bug#33248 How to repeat: This can be seen with the "generic" RPMs that MySQL provides, e.g. from: http://dev.mysql.com/downloads/mysql/5.1.html#linux-x86-32bit-rpms Install on a host that does not have perl DBI. Suggested fix: The "specific" RPMs, built with a different spec file, have a fix for this. Just copy the fix from there. The missing bit is: %undefine __perl_provides %undefine __perl_requires