On Thu, Sep 25, 2003, Michael Schloh wrote:

> [...]
>     Relieve platform requirements
> [...]

>          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 @@
>                      >/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

Why? I guess because it was broken due to "i686" instead of "ix86",
right? But that's then no reason to leave it out. Instead replace "ix86"
with "i?86" and "sparc64" with "sun4u", please. Because the stuff
definetely will not run on other architectures.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to