File openwsman-no-explicit-target.patch of Package openwsman

Index: openwsman-2.3.5/bindings/java/CMakeLists.txt
===================================================================
--- openwsman-2.3.5.orig/bindings/java/CMakeLists.txt	2012-06-01 09:34:24.000000000 +0200
+++ openwsman-2.3.5/bindings/java/CMakeLists.txt	2012-06-22 12:58:50.467042330 +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}
openSUSE Build Service is sponsored by