Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
061de3aae9
!16 修改chagelog 日期错误
From: @zhangkea 
Reviewed-by: @sinever 
Signed-off-by: @sinever
2022-10-14 02:49:40 +00:00
ut001695
87915ed2c9 modify changlog date 2022-05-31 18:14:54 +08:00
openeuler-ci-bot
6024ac130e
!13 [sync] PR-12: remove %dist
From: @openeuler-sync-bot 
Reviewed-by: @wuzeyi1 
Signed-off-by: @wuzeyi1
2022-03-25 06:43:55 +00:00
lyn1001
654dbf366e remove %dist
(cherry picked from commit 5535c5287225a88520c05f51b00f0c6cc88c6a15)
2022-03-24 20:07:00 +08:00
openeuler-ci-bot
f3e3d48af9 !8 Strip binary files
From: @zhangtao2020
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
2021-09-07 08:23:04 +00:00
zhangtao2020
7154a9cbb5 add CFLAGS -g and strip binary files 2021-09-07 15:25:29 +08:00
openeuler-ci-bot
be47485fb8 !6 Add yaml file for libsvm
From: @hubble_zhu
Reviewed-by: @sinever
Signed-off-by: @sinever
2020-12-10 16:36:20 +08:00
hubble_zhu
d1990ce1b1 Add yaml file for libsvm 2020-12-01 10:48:33 +08:00
openeuler-ci-bot
5e3f60a1e2 !3 Modify Source0 path of libsvm
From: @hubble_zhu
Reviewed-by: @sinever
Signed-off-by: @sinever
2020-09-14 08:59:17 +08:00
hubble_zhu
20e2a070e7 Update spec version 2020-09-12 10:22:27 +08:00
openeuler-ci-bot
fd42017006 !1 libsvm package init
Merge pull request !1 from Hubble_Zhu/master
2020-08-27 18:05:18 +08:00
3 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,23 @@
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

View File

@ -1,14 +1,14 @@
%global debug_package %{nil}
%define rel_ver 324
%define pkg_ver 1.0
%define pkg_ver 5
Summary: A Library for Support Vector Machines
Name: libsvm
Version: %{rel_ver}
Release: %{pkg_ver}%{?dist}
Release: %{pkg_ver}
License: BSD
URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
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
BuildRequires: gcc, gcc-c++, make
@ -21,6 +21,7 @@ Provides
%prep
%setup -q
%patch0001 -p1
%build
make
@ -40,5 +41,17 @@ install -p -D svm-train %{buildroot}/usr/bin/
rm -rf %{buildroot}
%changelog
* Thu Aug 27 2020 hubble_zhu<hubble_zhu@qq.com> - 1.0
* Tue May 31 2022 zhangkea <zhangkea@uniontech.com> - 324-5
- 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

4
libsvm.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: cjlin1/libsvm
tag_prefix: ^v
separator: .