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-18 16:42:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obantoo (Old)
 and      /work/SRC/openSUSE:Factory/.obantoo.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obantoo"

Fri Mar 18 16:42:53 2022 rev:2 rq:962722 version:2.1.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/obantoo/obantoo.changes  2017-08-24 
18:51:34.908323692 +0200
+++ /work/SRC/openSUSE:Factory/.obantoo.new.25692/obantoo.changes       
2022-03-18 16:43:12.701227537 +0100
@@ -1,0 +2,9 @@
+Thu Mar 17 09:38:18 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build against the system libraries
+- Added patch:
+  * obantoo-classpath.patch
+    + do not hardcode jar names, but build against all jars that
+      we link into the lib directory
+
+-------------------------------------------------------------------

New:
----
  obantoo-classpath.patch

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

Other differences:
------------------
++++++ obantoo.spec ++++++
--- /var/tmp/diff_new_pack.FGBCIs/_old  2022-03-18 16:43:13.149227858 +0100
+++ /var/tmp/diff_new_pack.FGBCIs/_new  2022-03-18 16:43:13.153227861 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obantoo
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,38 +12,50 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:           obantoo
-License:        LGPL-3.0
-Group:          Development/Languages/Java
-Summary:        German Online Banking Library
 Version:        2.1.12
 Release:        0
-Url:            http://obantoo.sourceforge.net/
-Source:         %{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  dos2unix
+Summary:        German Online Banking Library
+License:        LGPL-3.0-only
+Group:          Development/Languages/Java
+URL:            http://obantoo.sourceforge.net/
+Source0:        %{name}-%{version}.tar.gz
+Patch0:         %{name}-classpath.patch
 BuildRequires:  ant
+BuildRequires:  dos2unix
+BuildRequires:  itextpdf
+BuildRequires:  junit
 BuildArch:      noarch
+%if 0%{?suse_version} > 1500
+BuildRequires:  glassfish-jaxb-api
+%endif
 
 %description
 A library of tools for German online banking implementing SEPA, IBAN/BIC, 
DETAUS and QIF.
 
 %prep
 %setup -q
+%patch0 -p1
+find . -name \*.jar -print -delete
+build-jar-repository -s lib itextpdf junit
+%if 0%{?suse_version} > 1500
+build-jar-repository -s lib glassfish-jaxb-api
+%endif
+
 dos2unix *.txt
 
 %build
-%ant
+%{ant}
 
 %install
 mkdir -p %{buildroot}%{_javadir}
 install build/%{name}-bin-%{version}.jar %{buildroot}%{_javadir}
 
 %files
-%defattr(-,root,root)
 %doc LGPL.txt
 %{_javadir}/%{name}-bin-%{version}.jar
 

++++++ obantoo-classpath.patch ++++++
diff -urEbwB obantoo-2.1.12/build.xml obantoo-2.1.12/build.xml
--- obantoo-2.1.12/build.xml    2015-05-10 08:54:59.000000000 +0200
+++ obantoo-2.1.12/build.xml    2022-03-17 10:30:18.433046041 +0100
@@ -2,6 +2,12 @@
 
 <project basedir="." default="jar" name="All">
 
+       <path id="build.classpath">
+               <fileset dir="lib">
+                       <include name="**/*"/>
+               </fileset>
+       </path>
+
        <target name="init" description="Build-Prozess initialisieren">
                <property name="build.dir" value="build" />
                <property name="src.dir" value="src" />
@@ -20,7 +26,7 @@
        <target name="compile" depends="init" description="Compilieren">
                <mkdir dir="${classes.dir}" />
                <javac source="1.6"
-                            
classpath="lib/itextpdf-5.3.3.jar;lib/junit-4.11.jar"
+                            classpathref="build.classpath"
                             target="1.6" 
                             debug="true" 
                             debuglevel="lines,vars,source" 

Reply via email to