From 2d694e467c485b035a30c9cb3313aae0603cc0e8 Mon Sep 17 00:00:00 2001 From: Ding-Yi Chen Date: Fri, 17 Jun 2011 13:29:56 +1000 Subject: [PATCH] Fix the build error on EL-5 --- libsvm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libsvm.spec b/libsvm.spec index f81c408..efaa12d 100644 --- a/libsvm.spec +++ b/libsvm.spec @@ -1,7 +1,7 @@ %define shver 2 Name: libsvm Version: 3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Library for Support Vector Machines Group: Development/Libraries @@ -34,10 +34,10 @@ BuildRequires: grep %else %if 0%{?rhel} >= 6 %define moc_path %{_bindir}/moc-qt4 -%endif %else %define moc_path %{_libdir}/qt4/bin/moc %endif +%endif %ifnarch ppc ppc64 %define no_java FALSE @@ -239,6 +239,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jun 17 2011 Ding-Yi Chen - 3.1-2 +- Fix the build error on EL-5 + * Tue Jun 14 2011 Ding-Yi Chen - 3.1-1 - svm tools is now installed in /usr/bin as svm-*.py i.e. tools/easy.py is linked as svm-easy.py.