rpms/libkml/devel libkml-0.6.1.configure_ac.patch, NONE, 1.1 import.log, 1.1, 1.2 libkml.spec, 1.1, 1.2

Rakesh Pandit rakesh at fedoraproject.org
Sun Apr 12 16:33:44 UTC 2009


Author: rakesh

Update of /cvs/pkgs/rpms/libkml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5246/devel

Modified Files:
	import.log libkml.spec 
Added Files:
	libkml-0.6.1.configure_ac.patch 
Log Message:
Initial import.


libkml-0.6.1.configure_ac.patch:

--- NEW FILE libkml-0.6.1.configure_ac.patch ---
--- libkml-0.6.1.org/configure.ac	2009-04-13 09:24:15.041537747 +0530
+++ libkml-0.6.1/configure.ac	2009-04-13 09:25:24.670599502 +0530
@@ -72,8 +72,8 @@
 	AC_CHECK_PROG(SWIG, swig, swig)
 	if test "x$SWIG" != x; then
 		SWIG_VERSION=`swig -version 2>&1|grep Version|cut -d" " -f3`
-		if test $SWIG_VERSION != 1.3.35; then
-			AC_MSG_WARN([You have SWIG $SWIG_VERSION installed, but libkml requires SWIG 1.3.35. The bindings will not be built.])
+		if test $SWIG_VERSION >= 1.3.35; then
+			AC_MSG_WARN([You have SWIG have $SWIG_VERSION installed, but libkml requires greater then SWIG 1.3.35. The bindings will not be built.])
 			SWIG=
 		fi
 	fi


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/libkml/devel/import.log,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- import.log	7 Mar 2009 17:21:09 -0000	1.1
+++ import.log	12 Apr 2009 16:33:11 -0000	1.2
@@ -1 +1,2 @@
 libkml-0_6_1-2_fc10:HEAD:libkml-0.6.1-2.fc10.src.rpm:1236446111
+libkml-0_6_1-3_fc11:HEAD:libkml-0.6.1-3.fc11.src.rpm:1239553153


Index: libkml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libkml/devel/libkml.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libkml.spec	7 Mar 2009 17:21:09 -0000	1.1
+++ libkml.spec	12 Apr 2009 16:33:12 -0000	1.2
@@ -3,15 +3,15 @@
 
 Name:           libkml
 Version:        0.6.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A KML library written in C++ with bindings to other languagues
 
 Group:          Development/Libraries
 License:        BSD
 URL:            http://code.google.com/p/%{name}/
 Source0:        http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
-#Patch0:         libkml-string.patch
-Patch1:         libkml-third_party_removal.diff
+Patch0:         libkml-third_party_removal.diff
+Patch1:         libkml-0.6.1.configure_ac.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # requires swig >= 1.3.35
@@ -40,8 +40,8 @@
 %prep
 %setup -q
 rm -rf third_party
-%patch1 -p0 -b .third_party
-#%patch0 -p1 -b .string
+%patch0 -p0 -b .third_party
+%patch1 -p1 -b .configure_ac
 
 %build
 autoreconf -fi
@@ -100,8 +100,8 @@
 %{_libdir}/libkml/*.so.*
 %{python_sitearch}/*.so
 %{python_sitearch}/*.py
-%{python_sitearch}/*.pyc
-%{python_sitearch}/*.pyo
+#%{python_sitearch}/*.pyc
+#%{python_sitearch}/*.pyo
 
 %files devel
 %defattr(-,root,root,-)
@@ -111,6 +111,9 @@
 %{_libdir}/libkml/*.so
 
 %changelog
+* Sun Apr 12 2009 Rakesh Pandit <rakesh at fedoraproject.org> 0.6.1-3
+- libkml-0.6.1.configure_ac.patch patch for swig > 1.3.35
+
 * Sat Mar 07 2009 Rakesh Pandit <rakesh at fedoraproject.org> 0.6.1-2
 - updated to 0.6.1
 - libkml-third_party_removal.diff Removes third part dependency




More information about the fedora-extras-commits mailing list