Compare commits
No commits in common. "061de3aae96478f3ffd368362729aaf94cf1ba9c" and "8405c5133db549655ee003160c111a16d2355658" have entirely different histories.
061de3aae9
...
8405c5133d
@ -1,23 +0,0 @@
|
|||||||
From 26674a6d4458479698d3776782199edccf52e231 Mon Sep 17 00:00:00 2001
|
|
||||||
From: zhangtao2020 <18066722603@163.com>
|
|
||||||
Date: Mon, 6 Sep 2021 16:06:32 +0800
|
|
||||||
Subject: [PATCH] add build CFLAGS -g
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index db6ab34..3920b6c 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
CXX ?= g++
|
|
||||||
-CFLAGS = -Wall -Wconversion -O3 -fPIC
|
|
||||||
+CFLAGS = -Wall -Wconversion -O3 -fPIC -g
|
|
||||||
SHVER = 2
|
|
||||||
OS = $(shell uname)
|
|
||||||
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
||||||
21
libsvm.spec
21
libsvm.spec
@ -1,14 +1,14 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
%define rel_ver 324
|
%define rel_ver 324
|
||||||
%define pkg_ver 5
|
%define pkg_ver 1.0
|
||||||
|
|
||||||
Summary: A Library for Support Vector Machines
|
Summary: A Library for Support Vector Machines
|
||||||
Name: libsvm
|
Name: libsvm
|
||||||
Version: %{rel_ver}
|
Version: %{rel_ver}
|
||||||
Release: %{pkg_ver}
|
Release: %{pkg_ver}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
|
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
|
||||||
Source0: https://www.csie.ntu.edu.tw/~cjlin/libsvm/%{name}-%{rel_ver}.tar.gz
|
Source0: https://www.csie.ntu.edu.tw/~cjlin/libsvm/%{name}-%{rel_ver}.tar.gz
|
||||||
Patch0001: 0001-add-build-CFLAGS-g.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{rel_ver}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{rel_ver}-%{release}-root
|
||||||
BuildRequires: gcc, gcc-c++, make
|
BuildRequires: gcc, gcc-c++, make
|
||||||
@ -21,7 +21,6 @@ Provides
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0001 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -41,17 +40,5 @@ install -p -D svm-train %{buildroot}/usr/bin/
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue May 31 2022 zhangkea <zhangkea@uniontech.com> - 324-5
|
* Thu Aug 27 2020 hubble_zhu<hubble_zhu@qq.com> - 1.0
|
||||||
- change changlog date error
|
|
||||||
|
|
||||||
* Thu Mar 24 2022 liyanan <liyanan32@huawei.com> - 324-4
|
|
||||||
- remove %dist
|
|
||||||
|
|
||||||
* Sun Sep 12 2021 zhangtao<zhangtao221@huawei.com> - 324-3
|
|
||||||
- add CFLAGS -g and strip binary files
|
|
||||||
|
|
||||||
* Sat Sep 4 2021 hubble_zhu<hubble_zhu@qq.com> - 324-2
|
|
||||||
- modify Source0 path
|
|
||||||
|
|
||||||
* Thu Aug 27 2020 hubble_zhu<hubble_zhu@qq.com> - 324-1
|
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: cjlin1/libsvm
|
|
||||||
tag_prefix: ^v
|
|
||||||
separator: .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user