[libsvm/el5] Fix the build error on EL-5

Ding-Yi Chen dchen at fedoraproject.org
Fri Jun 17 03:30:32 UTC 2011


commit 2d694e467c485b035a30c9cb3313aae0603cc0e8
Author: Ding-Yi Chen <dingyichen at gmail.com>
Date:   Fri Jun 17 13:29:56 2011 +1000

    Fix the build error on EL-5

 libsvm.spec |    7 +++++--
 1 files 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 <dchen at redhat.com> - 3.1-2
+- Fix the build error on EL-5
+
 * Tue Jun 14 2011 Ding-Yi Chen <dchen at redhat.com> - 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.


More information about the scm-commits mailing list