Incahatus / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

el6/centos6 SPEC missing requires #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download Source
2. Build SRPM based on spec in source
3. Try and build SRPM with mock

What is the expected output?
A finished RPM

What do you see instead?
A number of errors, first requiring a missing CPAN.pm, and then complaining 
that the build can't be packaged because there are arch specific binaries in a 
noarch package.

What version of the product are you using? On what operating system?
mha4mysql-node-0.54 (and most likely mha4mysql-manager-0.55). Building on 
CentOS 6.3 via Mock 1.1.28

Please provide any additional information below.
The build process needs various perl bits that aren't installed by default. 
Adding the following lines to the SPEC file fixes the issue:

BuildRequires: perl(DBD::mysql)
BuildRequires: perl(DBI)

Original issue reported on code.google.com by k...@hudat.com on 8 Mar 2013 at 6:48