Fix the build error on EL-5

epel8
Ding-Yi Chen 14 years ago
parent 484847fb5e
commit 2d694e467c

@ -1,7 +1,7 @@
%define shver 2 %define shver 2
Name: libsvm Name: libsvm
Version: 3.1 Version: 3.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: A Library for Support Vector Machines Summary: A Library for Support Vector Machines
Group: Development/Libraries Group: Development/Libraries
@ -34,10 +34,10 @@ BuildRequires: grep
%else %else
%if 0%{?rhel} >= 6 %if 0%{?rhel} >= 6
%define moc_path %{_bindir}/moc-qt4 %define moc_path %{_bindir}/moc-qt4
%endif
%else %else
%define moc_path %{_libdir}/qt4/bin/moc %define moc_path %{_libdir}/qt4/bin/moc
%endif %endif
%endif
%ifnarch ppc ppc64 %ifnarch ppc ppc64
%define no_java FALSE %define no_java FALSE
@ -239,6 +239,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Jun 17 2011 Ding-Yi Chen <dchen@redhat.com> - 3.1-2
- Fix the build error on EL-5
* Tue Jun 14 2011 Ding-Yi Chen <dchen@redhat.com> - 3.1-1 * Tue Jun 14 2011 Ding-Yi Chen <dchen@redhat.com> - 3.1-1
- svm tools is now installed in /usr/bin as svm-*.py - svm tools is now installed in /usr/bin as svm-*.py
i.e. tools/easy.py is linked as svm-easy.py. i.e. tools/easy.py is linked as svm-easy.py.

Loading…
Cancel
Save