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.2 by eulisse, Wed Mar 15 17:28:45 2006 UTC vs.
Revision 1.3 by eulisse, Wed Apr 5 09:44:11 2006 UTC

# Line 1 | Line 1
1 < ### RPM external mysql 4.0.24
2 < # Source: ftp://mirror.mcs.anl.gov/pub/mysql/Downloads/MySQL-4.0/%n-%v.tar.gz
3 < Source: http://downloads.mysql.com/archives/mysql-4.0/%n-%v.tar.gz
1 > ### RPM external mysql 5.0.18
2 > #Different download locations according to the version.
3 >
4 > %if "%(echo %v | cut -d. -f1)" == "4"
5 > %define source http://downloads.mysql.com/archives/mysql-4.0/%n-%v.tar.gz
6 > %else
7 > %define source http://mysql.belnet.be/Downloads/MySQL-5.0/mysql-%v.tar.gz
8 > %endif
9 >
10 > Source: %source
11  
12   %prep
13   %setup -n %n-%v

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines