[packages/lenya] does not build with java7
glen
glen at pld-linux.org
Fri Dec 27 10:50:47 CET 2013
commit 9a5825065fecb2e12da3562578b3851f1b43a2a9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Dec 27 11:50:35 2013 +0200
does not build with java7
lenya.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/lenya.spec b/lenya.spec
index 4c79854..ca7b2ca 100644
--- a/lenya.spec
+++ b/lenya.spec
@@ -1,7 +1,13 @@
# TODO:
# - where to setup lenya username/passwords? Is it possible to integrate it
# with LDAP?
-
+# - jdk 1.7: cocoon does not build with 1.7:
+# src/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.java:342: error: cannot find symbol
+# [cocoon.javac] } catch (ImageFormatException e) {
+# [cocoon.javac] ^
+# [cocoon.javac] symbol: class ImageFormatException
+# [cocoon.javac] location: class ImageReader
+# http://stackoverflow.com/questions/12846098/building-cocoon-2-1-0-with-jdk-7-fails-compile-build-xml68
%include /usr/lib/rpm/macros.java
Summary: Open Source Java/XML Content Management System
Summary(pl.UTF-8): System zarządzania treścią oparty na Javie i XML
@@ -22,7 +28,7 @@ Source6: %{name}-pl.svg
Patch0: %{name}-langpl.patch
URL: http://lenya.apache.org/
BuildRequires: ant
-BuildRequires: jdk
+BuildRequires: jdk < 1.7
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
BuildRequires: rpmbuild(macros) >= 1.300
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lenya.git/commitdiff/9a5825065fecb2e12da3562578b3851f1b43a2a9
More information about the pld-cvs-commit
mailing list