From b9da826dec1bbbf7a5247addc6c75f41b69150f7 Mon Sep 17 00:00:00 2001 From: jiangxinyu Date: Wed, 15 Dec 2021 15:22:45 +0800 Subject: [PATCH] Remove the release suffix --- libsvm.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/libsvm.spec b/libsvm.spec index 31cfe09..fb698e5 100644 --- a/libsvm.spec +++ b/libsvm.spec @@ -1,13 +1,13 @@ %define rel_ver 324 -%define pkg_ver 3 - -Summary: A Library for Support Vector Machines -Name: libsvm -Version: %{rel_ver} -Release: %{pkg_ver}%{?dist} -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 +%define pkg_ver 4 + +Summary: A Library for Support Vector Machines +Name: libsvm +Version: %{rel_ver} +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 @@ -41,6 +41,9 @@ install -p -D svm-train %{buildroot}/usr/bin/ rm -rf %{buildroot} %changelog +* Wed Dec 15 2021 jiangxinyu - 324-4 +- Remove the release suffix + * Sat Sep 4 2020 zhangtao - 324-3 - add CFLAGS -g and strip binary files -- Gitee