Hello community,

here is the log from the commit of package antlr for openSUSE:Factory checked 
in at 2017-10-10 11:41:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/antlr (Old)
 and      /work/SRC/openSUSE:Factory/.antlr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "antlr"

Tue Oct 10 11:41:02 2017 rev:38 rq:532706 version:2.7.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/antlr/antlr-bootstrap.changes    2017-09-27 
16:49:23.349415228 +0200
+++ /work/SRC/openSUSE:Factory/.antlr.new/antlr-bootstrap.changes       
2017-10-10 11:41:06.360424565 +0200
@@ -1,0 +2,7 @@
+Mon Oct  9 09:56:54 UTC 2017 - fst...@suse.com
+
+- Remove requirement of gcc-java all together and build with
+  any java version that exists and is able to use source and target
+  1.6
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ antlr-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.QQMfMR/_old  2017-10-10 11:41:07.112391561 +0200
+++ /var/tmp/diff_new_pack.QQMfMR/_new  2017-10-10 11:41:07.116391386 +0200
@@ -27,8 +27,7 @@
 Url:            http://www.antlr.org
 Source0:        antlr-%{version}.tar.bz2
 Source1:        manifest.antlr
-BuildRequires:  gcc-gij
-BuildRequires:  gcc-java
+BuildRequires:  java-devel >= 1.6
 BuildRequires:  unzip
 BuildRequires:  zip
 BuildArch:      noarch
@@ -45,7 +44,6 @@
 # variables:
 TARGET_DIR=`pwd`
 CLASSPATH_ORIG="$CLASSPATH"
-LIB_GCJ="`ls %{_javadir}/libgcj-*.jar`"
 #>>> delete binary file and files not needed
 function delBinaryFiles() {
   set +x
@@ -69,7 +67,6 @@
 }
 #>>> compiles all *.java file in the current directory tree
 # uses mkTargetClasspath for CLASSPATH  variable
-# uses LIB_GCJ for CLASSPATH
 function compileFiles() {
   mkTargetClasspath
   set +x
@@ -94,11 +91,10 @@
 # uses $TARGET_DIR to move created jar to
 function mkJar() {
   find  -name "version.txt" -or -name "*.class" -or -name "*.properties" -or 
-name "*.rsc" -or -name "*manifest*" |\
-    xargs gjar%{gccbinsuffix} -m manifest.* -cf ${1}.jar ;
+    xargs jar cfm ${1}.jar manifest.* ;
   mv ${1}.jar $TARGET_DIR
 }
-ECJJAR=`gcj%{gccbinsuffix} -print-file-name=ecj.jar`
-COMPILER_COMMAND="gij%{gccbinsuffix} -cp $ECJJAR 
org.eclipse.jdt.internal.compiler.batch.Main -cp  "
+COMPILER_COMMAND="javac -source 1.6 -target 1.6 -cp  "
 delBinaryFiles
 mkdir src
 mv antlr src


Reply via email to