Browse Source

Relieve platform requirements

master
Michael Schloh von Bennewitz 23 years ago committed by Ralf S. Engelschall
parent
commit
0c5b4cc692
  1. 8
      j2se/j2se.spec

8
j2se/j2se.spec

@ -42,7 +42,7 @@ Distribution: OpenPKG [EVAL]
Group: Language
License: Commercial
Version: %{V_openpkg}
Release: 20030918
Release: 20030925
# package options
%option with_native yes
@ -96,7 +96,7 @@ Conflicts: j2se14
( umask 022
cd $RPM_BUILD_ROOT%{l_prefix}/libexec
case "%{l_platform -t}" in
ix86-freebsd[45]* )
*-freebsd[45]* )
%if "%{with_native}" == "yes"
%{l_gzip} -d -c %{SOURCE jdk-%{V_bsd_dist}.tgz} | %{l_tar} xf -
mv jdk%{V_bsd_fsys} j2se
@ -111,11 +111,11 @@ Conflicts: j2se14
>/dev/null 2>&1 || true
%endif
;;
ix86-linux2.[2-6]* )
*-linux2.[2-6]* )
echo "yes" | sh $RPM_SOURCE_DIR/j2sdk-%{V_lnx_dist}-linux-i586.bin >/dev/null
mv jdk%{V_lnx_fsys} j2se
;;
sparc64-sunos5.[6-9]* )
*-sunos5.[6-9]* )
echo "yes" | sh $RPM_SOURCE_DIR/j2sdk-%{V_sol_dist}-solaris-sparc.sh >/dev/null
mv j2sdk%{V_sol_fsys} j2se
;;

Loading…
Cancel
Save