diff --git a/0001-add-build-CFLAGS-g.patch b/0001-add-build-CFLAGS-g.patch index 5973629f78ee332d676e5b77702d432f4bd914af..92acad536aec1b1296739605630c385230375e26 100644 --- a/0001-add-build-CFLAGS-g.patch +++ b/0001-add-build-CFLAGS-g.patch @@ -1,6 +1,6 @@ -From 26674a6d4458479698d3776782199edccf52e231 Mon Sep 17 00:00:00 2001 -From: zhangtao2020 <18066722603@163.com> -Date: Mon, 6 Sep 2021 16:06:32 +0800 +From 90ad6f20dd41aebde65b7b4ba315c75c3d36f825 Mon Sep 17 00:00:00 2001 +From: Paul Thomas +Date: Wed, 3 Jan 2024 17:41:56 +0800 Subject: [PATCH] add build CFLAGS -g --- @@ -8,16 +8,16 @@ Subject: [PATCH] add build CFLAGS -g 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index db6ab34..3920b6c 100644 +index 984899b..e7586f6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXX ?= g++ -CFLAGS = -Wall -Wconversion -O3 -fPIC +CFLAGS = -Wall -Wconversion -O3 -fPIC -g - SHVER = 2 + SHVER = 3 OS = $(shell uname) - + ifeq ($(OS),Darwin) -- -2.27.0 +2.20.1 diff --git a/libsvm-324.tar.gz b/libsvm-324.tar.gz deleted file mode 100644 index 6772ed870d678718496d0ee8c37d50fce782f98b..0000000000000000000000000000000000000000 Binary files a/libsvm-324.tar.gz and /dev/null differ diff --git a/libsvm-332.tar.gz b/libsvm-332.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a60fc15a691708de09542e94f7994e086970d46c Binary files /dev/null and b/libsvm-332.tar.gz differ diff --git a/libsvm.spec b/libsvm.spec index ede8a270926febc8fa8c4fb36f0e992948e38541..c6a694f9dc0bf8ec077e3aa636c6f399e312c40c 100644 --- a/libsvm.spec +++ b/libsvm.spec @@ -1,7 +1,7 @@ Summary: A Library for Support Vector Machines Name: libsvm -Version: 324 -Release: 5 +Version: 332 +Release: 1 License: BSD URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/ Source0: https://www.csie.ntu.edu.tw/~cjlin/libsvm/%{name}-%{version}.tar.gz @@ -39,8 +39,8 @@ install -p -D svm-predict %{buildroot}/usr/bin/ install -p -D svm-scale %{buildroot}/usr/bin/ install -p -D svm-train %{buildroot}/usr/bin/ install -m 644 svm.h %{buildroot}%{_includedir}/%{name}/ -install -m 755 libsvm.so.2 %{buildroot}%{_libdir} -ln -s %{_libdir}/libsvm.so.2 %{buildroot}%{_libdir}/libsvm.so +install -m 755 libsvm.so.3 %{buildroot}%{_libdir} +ln -s %{_libdir}/libsvm.so.3 %{buildroot}%{_libdir}/libsvm.so %files %doc COPYRIGHT FAQ.html @@ -52,12 +52,15 @@ ln -s %{_libdir}/libsvm.so.2 %{buildroot}%{_libdir}/libsvm.so %doc README %{_includedir}/%{name} %{_libdir}/libsvm.so -%{_libdir}/libsvm.so.2 +%{_libdir}/libsvm.so.3 %clean rm -rf %{buildroot} %changelog +* Wed Jan 03 2024 Paul Thomas - 332-1 +- update to version 332 + * Wed Jul 20 2022 lvgenggeng - 324-5 - add devel package and doc - fix changelog date