[packages/openwsman] - fix java 1.7 build - rel 3
baggins
baggins at pld-linux.org
Thu Jun 13 09:42:38 CEST 2013
commit 69677e2a1e956552a68ac913376ba395f01742f7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jun 13 09:42:27 2013 +0200
- fix java 1.7 build
- rel 3
openwsman-java.patch | 11 +++++++++++
openwsman.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/openwsman.spec b/openwsman.spec
index 20a10dd..93424b2 100644
--- a/openwsman.spec
+++ b/openwsman.spec
@@ -5,7 +5,7 @@ Summary: Implementation of the Web Services Management specification (WS-Managem
Summary(pl.UTF-8): Implementacja specyfikacji Web Services Management (WS-Management)
Name: openwsman
Version: 2.2.6
-Release: 2
+Release: 3
License: BSD
Group: Libraries
Source0: http://downloads.sourceforge.net/openwsman/%{name}-%{version}.tar.bz2
diff --git a/openwsman-java.patch b/openwsman-java.patch
index 0746943..d424d4e 100644
--- a/openwsman-java.patch
+++ b/openwsman-java.patch
@@ -8,3 +8,14 @@
)
ADD_CUSTOM_TARGET ( jwsman_all ALL
+--- openwsman-2.2.6/bindings/java/CMakeLists.txt~ 2013-06-13 09:10:15.910113378 +0200
++++ openwsman-2.2.6/bindings/java/CMakeLists.txt 2013-06-13 09:32:56.695027687 +0200
+@@ -30,7 +30,7 @@
+ OUTPUT ${jar_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E echo_append "Compiling Java files ..."
+- COMMAND ${JAVA_COMPILE} -target 1.5 -d . *.java
++ COMMAND ${JAVA_COMPILE} -d . *.java
+ COMMAND ${CMAKE_COMMAND} -E echo_append "Creating JAR ..."
+ COMMAND ${JAVA_ARCHIVE} cvf ${jar_NAME} *.so org/*
+ DEPENDS ${SWIG_OUTPUT}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openwsman.git/commitdiff/69677e2a1e956552a68ac913376ba395f01742f7
More information about the pld-cvs-commit
mailing list