Fixed Bug 646154 - libsvm-python's pth is not set correctly

epel8
Ding-Yi Chen 13 years ago
parent 0b558eed95
commit 628f6b50b1

@ -1,7 +1,7 @@
%define shver 2 %define shver 2
Name: libsvm Name: libsvm
Version: 3.11 Version: 3.11
Release: 1%{?dist} Release: 3%{?dist}
Summary: A Library for Support Vector Machines Summary: A Library for Support Vector Machines
Group: Development/Libraries Group: Development/Libraries
@ -168,7 +168,8 @@ desktop-file-install --delete-original --vendor=fedora \
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-gtk.desktop \ ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-gtk.desktop \
${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-qt.desktop \ ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}-svm-toy-qt.desktop \
# Fix Bug 646154 - libsvm-python's pth is not set correctly
echo 'libsvm' > $RPM_BUILD_ROOT/%{python_sitearch}/libsvm.pth
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -214,6 +215,7 @@ rm -rf $RPM_BUILD_ROOT
%doc python/README-Python tools/README-Tools %doc python/README-Python tools/README-Tools
%{libsvm_python_dir} %{libsvm_python_dir}
%{_bindir}/svm-*.py %{_bindir}/svm-*.py
%{python_sitearch}/libsvm.pth
%ifnarch ppc ppc64 %ifnarch ppc ppc64
%files java %files java
@ -239,13 +241,16 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Jan 12 2012 Ding-Yi Chen <dchen@redhat.com> - 3.11-3
- Fixed Bug 646154 - libsvm-python's pth is not set correctly
* Fri Jun 17 2011 Ding-Yi Chen <dchen@redhat.com> - 3.11-1 * Fri Jun 17 2011 Ding-Yi Chen <dchen@redhat.com> - 3.11-1
- Upstream update: - Upstream update:
+ Set max number of iterations in the main loop of solvers + Set max number of iterations in the main loop of solvers
+ matlab: + matlab:
new make.m for unix/mac/windows and for matlab/octave new make.m for unix/mac/windows and for matlab/octave
+ matlab and python: + matlab and python:
fix a problem that decision values returned by svmpredict is empty if number of classes = 1 fix a problem that decision values returned by svmpredict is empty if number of classes = 1
* Fri Jun 17 2011 Ding-Yi Chen <dchen@redhat.com> - 3.1-2 * Fri Jun 17 2011 Ding-Yi Chen <dchen@redhat.com> - 3.1-2
- Fix the build error on EL-5 - Fix the build error on EL-5

Loading…
Cancel
Save