File 0001-Sources-updated.patch of Package lucene

From 5fe89950c76e3e1a91761b33e205670eb7ce2338 Mon Sep 17 00:00:00 2001
From: Christian Lanig <clanig@suse.com>
Date: Fri, 19 Jan 2018 17:01:08 +0100
Subject: [PATCH 1/1] Sources updated

---
 src/lucene-2.4.1/build.xml        | 9 ---------
 src/lucene-2.4.1/common-build.xml | 4 ++--
 2 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/src/lucene-2.4.1/build.xml b/src/lucene-2.4.1/build.xml
index 26d640a..e44def2 100644
--- a/src/lucene-2.4.1/build.xml
+++ b/src/lucene-2.4.1/build.xml
@@ -73,15 +73,6 @@
   <!-- Prepares the build directory                                       -->
   <!-- ================================================================== -->
 
-  <!-- Overrides common.compile-core to add rmic -->
-  <target name="compile-core" depends="common.compile-core"
-          description="Compiles core classes, including rmic">
-    <rmic classname="org.apache.lucene.search.RemoteSearchable"
-      base="${build.dir}/classes/java" stubversion="1.2">
-      <classpath refid="classpath"/>
-    </rmic>
-  </target>
-
   <target name="test-core" depends="common.test"
           description="Runs unit tests for the core Lucene code"
   />
diff --git a/src/lucene-2.4.1/common-build.xml b/src/lucene-2.4.1/common-build.xml
index 2ea6f34..2a3ef08 100644
--- a/src/lucene-2.4.1/common-build.xml
+++ b/src/lucene-2.4.1/common-build.xml
@@ -53,8 +53,8 @@
 
   <property name="javac.deprecation" value="off"/>
   <property name="javac.debug" value="on"/>
-  <property name="javac.source" value="1.4"/>
-  <property name="javac.target" value="1.4"/>
+  <property name="javac.source" value="1.7"/>
+  <property name="javac.target" value="1.7"/>
 
   <property name="javadoc.link" value="http://java.sun.com/j2se/1.4/docs/api/"/>
   <property name="javadoc.access" value="protected"/>
-- 
2.13.6

openSUSE Build Service is sponsored by