SPECS: java-mail.spec - fixed building with java_sun

paszczus paszczus at pld-linux.org
Thu Mar 26 20:10:34 CET 2009


Author: paszczus                     Date: Thu Mar 26 19:10:34 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed building with java_sun

---- Files affected:
SPECS:
   java-mail.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/java-mail.spec
diff -u SPECS/java-mail.spec:1.39 SPECS/java-mail.spec:1.40
--- SPECS/java-mail.spec:1.39	Thu Mar 26 19:44:56 2009
+++ SPECS/java-mail.spec	Thu Mar 26 20:10:28 2009
@@ -64,8 +64,15 @@
 %build
 CLASSPATH=$(build-classpath activation)
 
+install -d build
 %javac -classpath $CLASSPATH -source 1.4 -target 1.4 -d build $(find -name '*.java')
-%javadoc -all -d apidocs
+
+%if %{with javadoc}
+%javadoc -d apidocs \
+	%{?with_java_sun:com.sun.mail} \
+	$(find com/sun/mail -name '*.java') 
+%endif
+
 %jar -cf %{srcname}-%{version}.jar -C build .
 
 %install
@@ -107,6 +114,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2009/03/26 19:10:28  paszczus
+- fixed building with java_sun
+
 Revision 1.39  2009/03/26 18:44:56  pawelz
 - conditional bcond for Titanium
 
================================================================

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



More information about the pld-cvs-commit mailing list