]> git.pld-linux.org Git - packages/db4.7.git/blobdiff - db4.7.spec
- Don't force specific jdk.
[packages/db4.7.git] / db4.7.spec
index 8730f437272d19046843a10af8da5753781d070f..a1feba3aaefeb5019fdac9e44afde4edaf536b06 100644 (file)
@@ -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
This page took 0.060183 seconds and 4 git commands to generate.