From c023886b54485c38e2bbfd713b78d4ba684fb0e1 Mon Sep 17 00:00:00 2001 From: pawelz Date: Fri, 23 Apr 2010 00:01:45 +0000 Subject: [PATCH] - Don't force specific jdk. Changed files: db4.7.spec -> 1.24 --- db4.7.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/db4.7.spec b/db4.7.spec index 8730f43..a1feba3 100644 --- a/db4.7.spec +++ b/db4.7.spec @@ -4,12 +4,6 @@ %bcond_without tcl # don't build Tcl bindings %bcond_without static_libs # don't build static libraries -%if "%{pld_release}" == "ti" -%bcond_without java_sun # build with gcj -%else -%bcond_with java_sun # build with java-sun -%endif - %include /usr/lib/rpm/macros.java %define libver 4.7 @@ -30,9 +24,7 @@ URL: http://www.oracle.com/technology/products/berkeley-db/index.html BuildRequires: automake BuildRequires: ed %if %{with java} -%{!?with_java_sun:BuildRequires: java-gcj-compat-devel} -%{?with_java_sun:BuildRequires: java-sun} -BuildRequires: rpm >= 4.4.9-56 +BuildRequires: jdk BuildRequires: rpm-javaprov %endif BuildRequires: libstdc++-devel -- 2.43.0