From 2f43e48bc41b5b2e19538ec88dc56f75bb7d76e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 26 Nov 2006 20:22:54 +0000 Subject: [PATCH] - use jdk for supported platforms; otherwise gcc-java Changed files: beecrypt.spec -> 1.61 --- beecrypt.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/beecrypt.spec b/beecrypt.spec index 05a9d86..8563a4a 100644 --- a/beecrypt.spec +++ b/beecrypt.spec @@ -28,7 +28,12 @@ BuildRequires: automake BuildRequires: doxygen %endif %if %{with java} && !%{with javac} +%ifarch i586 i686 athlon pentium3 pentium4 %{x8664} +BuildRequires: jdk +%else BuildRequires: gcc-java +BuildRequires: libgcj-devel +%endif %endif %if %{with doc} BuildRequires: ghostscript @@ -38,9 +43,6 @@ BuildRequires: graphviz BuildRequires: jdk %endif BuildRequires: libtool -%if %{with java} && !%{with javac} -BuildRequires: libgcj-devel -%endif %if %{with python} BuildRequires: python-devel BuildRequires: python-modules -- 2.43.0