rpms/kdebindings/F-9 kdebindings-4.2.4-fix-kpythonpluginfactory.patch, NONE, 1.1 kdebindings.spec, 1.119, 1.120

Kevin Kofler kkofler at fedoraproject.org
Mon Jun 22 15:55:06 UTC 2009


Author: kkofler

Update of /cvs/pkgs/rpms/kdebindings/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19190/F-9

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.4-2
- 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/F-9/kdebindings.spec,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -p -r1.119 -r1.120
--- kdebindings.spec	2 Jun 2009 14:08:40 -0000	1.119
+++ kdebindings.spec	22 Jun 2009 15:54:35 -0000	1.120
@@ -29,7 +29,7 @@
 
 Name: kdebindings
 Version: 4.2.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: KDE bindings to non-C++ languages
 
 Group: User Interface/Desktops
@@ -44,8 +44,9 @@ Source5: http://websvn.kde.org/*checkout
 
 # patch to disable examples (trouble with them installing to the buildroot)
 Patch0:  kdebindings-qyoto-examples.patch
-
-# upstream patches
+# make the Python plugin factory work without python-devel
+Patch2:  kdebindings-4.2.4-fix-kpythonpluginfactory.patch
+## upstream patches
 Patch100: kdebindings-4.2.3-gcc44.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -247,8 +248,9 @@ Falcon plugin for the Kross archtecture 
 %prep
 %setup -q
 %patch0
+%patch2 -p1 -b .fix-kpythonpluginfactory
 
-# upstream patces
+# upstream patches
 %patch100 -p1 -b .gcc44
 
 %build
@@ -488,6 +490,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jun 22 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.4-2
+- make the Python plugin factory work without python-devel
+
 * Sat May 30 2009 Lukáš Tinkl <ltinkl at redhat.com> - 4.2.4-1
 - KDE 4.2.4
 




More information about the fedora-extras-commits mailing list