This patch is against the KDE-RedHat project's spec file for PyKDE
3.11.3.  Lightly tested, seems quite happy.

It depends on the configure.py patch I sent earlier, as otherwise PyKDE
can't figure out how to build itself.

        <b
--- PyKDE.spec.orig	2004-10-06 14:00:25.477491000 -0700
+++ PyKDE.spec	2004-10-06 14:46:16.628575000 -0700
@@ -80,7 +80,7 @@
 %build
 unset QTDIR || : ; . /etc/profile.d/qt.sh
 
-/usr/bin/python2 configure.py
+/usr/bin/python2 configure.py -L %{_lib}
 
 # Do what we can with smp
 make %{?_smp_mflags} || make
@@ -91,6 +91,10 @@
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
+if [ "%{_lib}" != lib ]; then
+    mkdir -p $RPM_BUILD_ROOT/%{_libdir}
+    mv $RPM_BUILD_ROOT/%{_exec_prefix}/lib/python* $RPM_BUILD_ROOT/%{_libdir}
+fi
 
 %files
 %defattr(-,root,root,-)
_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to