rpms/kdebindings/devel kdebindings-4.2.4-fix-kpythonpluginfactory.patch, NONE, 1.1 kdebindings.spec, 1.210, 1.211

Kevin Kofler kkofler at fedoraproject.org
Mon Jun 22 15:53:54 UTC 2009


Author: kkofler

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

Modified Files:
	kdebindings.spec 
Added Files:
	kdebindings-4.2.4-fix-kpythonpluginfactory.patch 
Log Message:
* Mon Jun 22 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.90-3
- make the Python plugin factory work without python-devel

kdebindings-4.2.4-fix-kpythonpluginfactory.patch:

--- NEW FILE kdebindings-4.2.4-fix-kpythonpluginfactory.patch ---
diff -ur kdebindings-4.2.4/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp kdebindings-4.2.4-fix-kpythonpluginfactory/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp
--- kdebindings-4.2.4/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp	2009-02-26 15:15:37.000000000 +0100
+++ kdebindings-4.2.4-fix-kpythonpluginfactory/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp	2009-06-22 17:47:29.000000000 +0200
@@ -297,7 +297,7 @@
 {
     QLibrary *pythonLib = new QLibrary();
     pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
-    pythonLib->setFileName(LIB_PYTHON);
+    pythonLib->setFileNameAndVersion(LIB_PYTHON, "1.0");
     pythonLib->load();
     return pythonLib;
 }


Index: kdebindings.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebindings/devel/kdebindings.spec,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -p -r1.210 -r1.211
--- kdebindings.spec	17 Jun 2009 13:12:13 -0000	1.210
+++ kdebindings.spec	22 Jun 2009 15:53:24 -0000	1.211
@@ -33,7 +33,7 @@
 
 Name: kdebindings
 Version: 4.2.90
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: KDE bindings to non-C++ languages
 
 Group: User Interface/Desktops
@@ -45,6 +45,8 @@ Source0: ftp://ftp.kde.org/pub/kde/stabl
 Patch0:  kdebindings-qyoto-examples.patch
 # workaround change to sip/phonon/backendcapabilities.sip which requires PyQt4 4.5
 Patch1:  kdebindings-4.2.85-old-PyQt4.patch
+# make the Python plugin factory work without python-devel
+Patch2:  kdebindings-4.2.4-fix-kpythonpluginfactory.patch
 ## upstream patches
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -250,6 +252,7 @@ Falcon plugin for the Kross archtecture 
 %setup -q
 %patch0
 %patch1 -p0 -b .old-PyQt4
+%patch2 -p1 -b .fix-kpythonpluginfactory
 
 
 %build
@@ -484,6 +487,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jun 22 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.90-3
+- make the Python plugin factory work without python-devel
+
 * Wed Jun 17 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.2.90-2
 - rework old-PyQt4 patch 
 




More information about the fedora-extras-commits mailing list