rpms/libsvm/devel libsvm-2.84-2.patch,1.2,1.3 libsvm.spec,1.1,1.2
Ding-Yi Chen (dchen)
fedora-extras-commits at redhat.com
Wed Aug 29 07:40:09 UTC 2007
Author: dchen
Update of /cvs/pkgs/rpms/libsvm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6730/devel
Modified Files:
libsvm-2.84-2.patch libsvm.spec
Log Message:
add gawk in buildrequire
libsvm-2.84-2.patch:
Index: libsvm-2.84-2.patch
===================================================================
RCS file: /cvs/pkgs/rpms/libsvm/devel/libsvm-2.84-2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libsvm-2.84-2.patch 29 Aug 2007 07:16:36 -0000 1.2
+++ libsvm-2.84-2.patch 29 Aug 2007 07:40:06 -0000 1.3
@@ -82,13 +82,13 @@
+
diff -up ./python/Makefile.orig ./python/Makefile
--- ./python/Makefile.orig 2007-08-27 11:11:38.000000000 +1000
-+++ ./python/Makefile 2007-08-29 17:10:28.000000000 +1000
++++ ./python/Makefile 2007-08-29 17:38:14.000000000 +1000
@@ -2,13 +2,19 @@ CC = g++
SWIG ?= swig
#Windows: see ../README ../Makefile.win
-PYTHON_INCLUDEDIR ?= /usr/include/python2.4
-+PYTHON_VERSION=${shell python -V 2> python.ver ; cat python.ver | /bin/awk 'BEGIN {FS= "[ .]"} {printf("%s.%s",$$2,$$3)}'; rm -f python.ver}
++PYTHON_VERSION=${shell python -V 2> /tmp/python.ver ; cat /tmp/python.ver | awk 'BEGIN {FS= "[ .]"} {printf("%s.%s",$$2,$$3)}'; rm -f /tmp/python.ver}
+
+ifndef PYTHON_INCLUDEDIR
+
Index: libsvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libsvm/devel/libsvm.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libsvm.spec 29 Aug 2007 06:47:34 -0000 1.1
+++ libsvm.spec 29 Aug 2007 07:40:06 -0000 1.2
@@ -37,7 +37,7 @@
%package python
Summary: A Library for Support Vector Machines
Group: Development/Libraries
-BuildRequires: python >= 2.4 python-devel >= 2.4
+BuildRequires: python >= 2.4 python-devel >= 2.4 gawk
Requires: python >= 2.4
Requires: %{name} = %{version}-%{release}
More information about the fedora-extras-commits
mailing list