diff --git a/j2se/j2se.spec b/j2se/j2se.spec index 83eba98710..097d0c127a 100644 --- a/j2se/j2se.spec +++ b/j2se/j2se.spec @@ -29,7 +29,7 @@ %define V_sol_fsys 1_3_1_08 %define V_lnx_dist 1_3_1_08 %define V_lnx_fsys 1.3.1_08 -%define V_bsd_dist 1.3.1p7_1 +%define V_bsd_dist 1.3.1p8_2 %define V_bsd_fsys 1.3.1 # package information @@ -45,12 +45,12 @@ Version: %{V_openpkg} Release: 20030612 # package options -%option with_native no +%option with_native yes # list of sources Source0: http://java.sun.com/j2se/::/j2sdk-%{V_sol_dist}-solaris-sparc.sh Source1: http://java.sun.com/j2se/::/j2sdk-%{V_lnx_dist}-linux-i586.bin -Source2: http://java.sun.com/j2se/::/j2sdk-%{V_bsd_dist}-freebsd-ix86.tar.bz2 +Source2: http://java.sun.com/j2se/::/jdk-%{V_bsd_dist}.tgz Source3: rc.%{name} Source4: %{name}.patch %NoSource 0 @@ -99,9 +99,8 @@ Conflicts: j2se14 case "%{l_target}" in ix86-freebsd[45]* ) %if "%{with_native}" == "yes" - %{l_bzip2} -d -c %{SOURCE j2sdk-%{V_bsd_dist}-freebsd-ix86.tar.bz2} |\ - %{l_tar} xf - - mv j2sdk-%{V_bsd_fsys} %{name} + %{l_gzip} -d -c %{SOURCE jdk-%{V_bsd_dist}.tgz} | %{l_tar} xf - + mv jdk%{V_bsd_fsys} %{name} %else echo "yes" | sh %{SOURCE j2sdk-%{V_lnx_dist}-linux-i586.bin} >/dev/null mv jdk%{V_lnx_fsys} %{name}