Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package antlr3 for openSUSE:Factory checked 
in at 2022-03-21 20:13:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/antlr3 (Old)
 and      /work/SRC/openSUSE:Factory/.antlr3.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "antlr3"

Mon Mar 21 20:13:14 2022 rev:3 rq:963730 version:3.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/antlr3/antlr3.changes    2019-11-26 
16:55:39.116181325 +0100
+++ /work/SRC/openSUSE:Factory/.antlr3.new.25692/antlr3.changes 2022-03-21 
20:13:33.144531057 +0100
@@ -1,0 +2,5 @@
+Mon Mar 21 14:54:29 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build with source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ antlr3.spec ++++++
--- /var/tmp/diff_new_pack.DtDGiA/_old  2022-03-21 20:13:33.828531717 +0100
+++ /var/tmp/diff_new_pack.DtDGiA/_new  2022-03-21 20:13:33.832531721 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package antlr3
+# spec file for package antlr3-java
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -39,6 +39,7 @@
 Patch1:         osgi-manifest.patch
 Patch100:       antlr3-generated_sources.patch
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  unzip
 BuildRequires:  mvn(antlr:antlr)
@@ -92,13 +93,13 @@
 %package     tool
 Summary:        ANother Tool for Language Recognition
 Group:          Development/Libraries/Java
-Requires:       mvn(org.antlr:antlr-runtime) = %{antlr_version}
 # Explicit requires for javapackages-tools since antlr3-script
 # uses /usr/share/java-utils/java-functions
 Requires:       javapackages-tools
+Requires:       mvn(org.antlr:antlr-runtime) = %{antlr_version}
 %if %{without bootstrap}
-Provides:       antlr3-bootstrap-tool
 Conflicts:      antlr3-bootstrap-tool
+Provides:       antlr3-bootstrap-tool
 %endif
 
 %description tool
@@ -150,8 +151,8 @@
 %pom_remove_plugin :maven-source-plugin
 %pom_remove_plugin :maven-javadoc-plugin
 
-# compile for target 1.6, see BZ#842572
-sed -i 's/jsr14/1.6/' 
antlr3-maven-archetype/src/main/resources/archetype-resources/pom.xml \
+# compile for target 1.8
+sed -i 's/jsr14/1.8/' 
antlr3-maven-archetype/src/main/resources/archetype-resources/pom.xml \
                       antlr3-maven-plugin/pom.xml \
                                           gunit/pom.xml \
                                           gunit-maven-plugin/pom.xml \
@@ -176,16 +177,18 @@
 %if %{with bootstrap}
        -j \
 %endif
+    -- \
 %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-       -- -Dmaven.compiler.release=6
+       -Dmaven.compiler.release=8 \
 %endif
+    -Dsource=8
 
 %if %{without runtime} &&  %{without bootstrap}
 
 # build ant task
 pushd antlr-ant/main/antlr3-task/
 export CLASSPATH=$(build-classpath ant)
-javac -encoding ISO-8859-1 antlr3-src/org/apache/tools/ant/antlr/ANTLR3.java
+javac -encoding ISO-8859-1 -source 8 -target 8 
antlr3-src/org/apache/tools/ant/antlr/ANTLR3.java
 jar cvf ant-antlr3.jar \
   -C antlr3-src org/apache/tools/ant/antlr/antlib.xml \
   -C antlr3-src org/apache/tools/ant/antlr/ANTLR3.class
@@ -228,6 +231,7 @@
 %endif
 
 %else
+
 %files -f .mfiles
 %license tool/LICENSE.txt
 

Reply via email to