ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/mysql.spec
(Generate patch)

Comparing COMP/CMSDIST/mysql.spec (file contents):
Revision 1.4 by eulisse, Mon Apr 17 11:17:00 2006 UTC vs.
Revision 1.11 by eulisse, Wed May 24 07:55:11 2006 UTC

# Line 1 | Line 1
1   ### RPM external mysql 5.0.18
2 + ## INITENV +PATH LD_LIBRARY_PATH %i/lib/mysql
3 +
4   #Different download locations according to the version.
5  
6   %if "%(echo %v | cut -d. -f1)" == "4"
# Line 8 | Line 10
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
# Line 22 | Line 26 | CFLAGS=-O3 CXX=gcc CXXFLAGS="-O3 -felide
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines