Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package obantoo for openSUSE:Factory checked 
in at 2022-03-22 19:41:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obantoo (Old)
 and      /work/SRC/openSUSE:Factory/.obantoo.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obantoo"

Tue Mar 22 19:41:10 2022 rev:3 rq:964001 version:2.1.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/obantoo/obantoo.changes  2022-03-18 
16:43:12.701227537 +0100
+++ /work/SRC/openSUSE:Factory/.obantoo.new.25692/obantoo.changes       
2022-03-22 19:41:26.143167674 +0100
@@ -1,0 +2,9 @@
+Tue Mar 22 15:57:33 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build with java source and target levels 8
+- Added patch:
+  * obantoo-no-hard-source-target.patch
+    + Don't hardcode source and target levels in the build files,
+      but allow them to be specified on ant invocation
+
+-------------------------------------------------------------------

New:
----
  obantoo-no-hard-source-target.patch

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

Other differences:
------------------
++++++ obantoo.spec ++++++
--- /var/tmp/diff_new_pack.FLIO4t/_old  2022-03-22 19:41:26.667168224 +0100
+++ /var/tmp/diff_new_pack.FLIO4t/_new  2022-03-22 19:41:26.671168227 +0100
@@ -25,9 +25,11 @@
 URL:            http://obantoo.sourceforge.net/
 Source0:        %{name}-%{version}.tar.gz
 Patch0:         %{name}-classpath.patch
+Patch1:         %{name}-no-hard-source-target.patch
 BuildRequires:  ant
 BuildRequires:  dos2unix
 BuildRequires:  itextpdf
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  junit
 BuildArch:      noarch
 %if 0%{?suse_version} > 1500
@@ -40,6 +42,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 find . -name \*.jar -print -delete
 build-jar-repository -s lib itextpdf junit
 %if 0%{?suse_version} > 1500
@@ -49,7 +52,7 @@
 dos2unix *.txt
 
 %build
-%{ant}
+%{ant} -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
 
 %install
 mkdir -p %{buildroot}%{_javadir}

++++++ obantoo-no-hard-source-target.patch ++++++
--- obantoo-2.1.12/build.xml    2022-03-22 16:51:46.682619584 +0100
+++ obantoo-2.1.12/build.xml    2022-03-22 16:52:26.022865215 +0100
@@ -19,9 +19,7 @@
 
        <target name="compile" depends="init" description="Compilieren">
                <mkdir dir="${classes.dir}" />
-               <javac source="1.6"
-                            classpathref="build.classpath"
-                            target="1.6" 
+               <javac classpathref="build.classpath"
                             debug="true" 
                             debuglevel="lines,vars,source" 
                             deprecation="true" 

Reply via email to