Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsvm for openSUSE:Factory checked in at 2023-11-02 20:22:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsvm (Old) and /work/SRC/openSUSE:Factory/.libsvm.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsvm" Thu Nov 2 20:22:13 2023 rev:4 rq:1122155 version:3.30 Changes: -------- --- /work/SRC/openSUSE:Factory/libsvm/libsvm.changes 2022-11-09 12:58:20.664655382 +0100 +++ /work/SRC/openSUSE:Factory/.libsvm.new.17445/libsvm.changes 2023-11-02 20:22:27.970035169 +0100 @@ -1,0 +2,8 @@ +Tue Oct 31 22:39:01 UTC 2023 - Fridrich Strba <[email protected]> + +- Added patch: + * libsvm-java8.patch + + Build with source and target levels 8 + + Fixes build with JDK 21 + +------------------------------------------------------------------- New: ---- libsvm-java8.patch BETA DEBUG BEGIN: New:- Added patch: * libsvm-java8.patch + Build with source and target levels 8 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsvm.spec ++++++ --- /var/tmp/diff_new_pack.38u35v/_old 2023-11-02 20:22:28.518055334 +0100 +++ /var/tmp/diff_new_pack.38u35v/_new 2023-11-02 20:22:28.518055334 +0100 @@ -1,7 +1,7 @@ # # spec file for package libsvm # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,9 +27,10 @@ Release: 0 URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/ Source0: https://www.csie.ntu.edu.tw/~cjlin/libsvm/%{name}-%{fileversion}.tar.gz +Patch0: libsvm-java8.patch BuildRequires: %{python_module devel} BuildRequires: gcc-c++ -BuildRequires: java-devel +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-tools BuildRequires: ncurses-devel BuildRequires: python-rpm-macros @@ -95,6 +96,7 @@ %prep %setup -q -n %{name}-%{fileversion} +%patch0 -p1 %build # We can't override CFLAGS, we have to patch the Makefile. ++++++ libsvm-java8.patch ++++++ --- libsvm-3.3/java/Makefile 2023-10-31 23:35:13.969018818 +0100 +++ libsvm-3.3/java/Makefile 2023-10-31 23:35:49.032582534 +0100 @@ -5,7 +5,7 @@ svm_train.class svm_predict.class svm_toy.class svm_scale.class #JAVAC = jikes -JAVAC_FLAGS = -target 1.7 -source 1.7 +JAVAC_FLAGS = -target 1.8 -source 1.8 JAVAC = javac # JAVAC_FLAGS = export CLASSPATH := .:$(CLASSPATH)
