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.13 by elmer, Tue May 1 11:17:39 2007 UTC vs.
Revision 1.16 by eulisse, Wed Jun 27 15:20:46 2007 UTC

# Line 3 | Line 3
3  
4   #Different download locations according to the version.
5  
6 < %if "%(echo %v | cut -d. -f1)" == "4"
7 < %define source http://downloads.mysql.com/archives/mysql-4.0/%n-%v.tar.gz
6 > %if "%(echo %realversion | cut -d. -f1)" == "4"
7 > %define source http://downloads.mysql.com/archives/mysql-4.0/%n-%realversion.tar.gz
8   %else
9 < %define source http://mysql.belnet.be/Downloads/MySQL-5.0/mysql-%v.tar.gz
9 > %define source http://mi.mirror.garr.it/mirrors/MySQL/Downloads/MySQL-5.0/%n-%realversion.tar.gz
10   %endif
11  
12   Source: %source
# Line 14 | Line 14 | Source: %source
14   Provides: perl(DBI)
15  
16   %prep
17 < %setup -n %n-%v
17 > %setup -n %n-%realversion
18   %ifos darwin
19   # There's for some reason a "-traditional-cpp", which breaks with GCC 3.3
20   # so remove it.  (FIXME: check if this is solved in a newer version.)
# Line 39 | Line 39 | perl -p -i -e "s|^#!.*perl(.*)|#!/usr/bi
39   %{relocateConfig}bin/mysql_fix_privilege_tables
40   %{relocateConfig}bin/mysql_install_db
41  
42

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines