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

Comparing COMP/CMSDIST/java-jdk.spec (file contents):
Revision 1.4 by eulisse, Thu Jun 15 13:19:35 2006 UTC vs.
Revision 1.5 by eulisse, Mon Jul 3 17:54:28 2006 UTC

# Line 1 | Line 1
1   ### RPM external java-jdk 1.5.0.p6
2 < ## BUILDIF [ $(uname) != Darwin ]
2 > ## BUILDIF [ "$(uname)" != "Darwin" ]
3  
4   Provides: libasound.so.2
5   Provides: libasound.so.2(ALSA_0.9)
# Line 19 | Line 19 | Provides: libodbcinst.so
19   %define downloadarch amd64
20   %endif
21  
22 < %if "%{?downloadarch:set}" != "set"
23 < %error Unsupported architecture.
24 < %endif
22 > Source0: http://eulisse.web.cern.ch/eulisse/jdk-%downloadv-linux-i586.bin
23 > Source1: http://eulisse.web.cern.ch/eulisse/jdk-%downloadv-linux-amd64.bin
24  
26 Source: http://eulisse.web.cern.ch/eulisse/jdk-%downloadv-linux-%downloadarch.bin
25   %prep
26 + %if %(uname) != Darwin
27   ls
28   %define javadir jdk%(echo %v| sed -e "s/.p/_0/")
29   rm -rf %javadir
30   yes | sh %{_sourcedir}/jdk-%downloadv-linux-%downloadarch.bin
31   cd %javadir
32 + %endif
33   %build
34   %install
35 + %if %(uname) != Darwin
36   ls
37   cp -r %javadir/* %i
38 + %endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines