Remove the release suffix

This commit is contained in:
jiangxinyu 2021-12-15 15:22:45 +08:00
parent 9b819cf790
commit b9da826dec

View File

@ -1,13 +1,13 @@
%define rel_ver 324
%define pkg_ver 3
%define pkg_ver 4
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
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 <jiangxinyu@kylinos.cn> - 324-4
- Remove the release suffix
* Sat Sep 4 2020 zhangtao<zhangtao221@huawei.com> - 324-3
- add CFLAGS -g and strip binary files