SPECS: java-mx4j.spec - jdk bconds

pawelz pawelz at pld-linux.org
Wed Apr 1 17:41:58 CEST 2009


Author: pawelz                       Date: Wed Apr  1 15:41:58 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- jdk bconds

---- Files affected:
SPECS:
   java-mx4j.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/java-mx4j.spec
diff -u SPECS/java-mx4j.spec:1.20 SPECS/java-mx4j.spec:1.21
--- SPECS/java-mx4j.spec:1.20	Wed Apr  1 17:40:03 2009
+++ SPECS/java-mx4j.spec	Wed Apr  1 17:41:53 2009
@@ -2,9 +2,14 @@
 #
 # Conditional build:
 %bcond_with	doc	# build docs (broken)
-#
+%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		srcname	mx4j
 Summary:	Open source implementation of JMX Java API
 Summary(pl.UTF-8):	Implementacja API Javy JMX z otwartymi źródłami
@@ -26,6 +31,9 @@
 BuildRequires:	jakarta-commons-logging >= 1.0.1
 BuildRequires:	javamail >= 1.2
 BuildRequires:	java-gcj-compat-devel
+%{!?with_java_sun:BuildRequires:        java-gcj-compat-devel}
+#%%{!?with_java_sun:BuildRequires:        java-gnu-classpath}
+%{?with_java_sun:BuildRequires: java-sun}
 BuildRequires:	java-hessian
 BuildRequires:	jce >= 1.2.2
 BuildRequires:	jpackage-utils
@@ -160,6 +168,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2009/04/01 15:41:53  pawelz
+- jdk bconds
+
 Revision 1.20  2009/04/01 15:40:03  pawelz
 - renamed from mx4j.spec
 - more build deps
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-mx4j.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list