10 |
|
%endif |
11 |
|
|
12 |
|
Source: %source |
13 |
+ |
# Let's fake the fact that we have perl (DBI) so that rpm does not complain. |
14 |
+ |
Provides: perl(DBI) |
15 |
|
|
16 |
|
%prep |
17 |
|
%setup -n %n-%v |
26 |
|
./configure --prefix=%i --with-extra-charsets=complex \ |
27 |
|
--enable-thread-safe-client --enable-local-infile |
28 |
|
make %makeprocesses |
29 |
+ |
%install |
30 |
+ |
make install |
31 |
+ |
perl -p -i -e "s|^#!.*perl(.*)|#!/usr/bin/env perl$1|" $(grep -r -e "^#!.*perl.*" %i | cut -d: -f1) |
32 |
|
%post |
33 |
|
%{relocateConfig}bin/msql2mysql |
34 |
|
%{relocateConfig}bin/mysqlaccess |