rpms/PyKDE/FC-6 PyKDE-3.16.0-kmimetype.patch, NONE, 1.1 PyKDE.spec, 1.5, 1.6

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu Nov 9 21:52:48 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/PyKDE/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27809

Modified Files:
	PyKDE.spec 
Added Files:
	PyKDE-3.16.0-kmimetype.patch 
Log Message:
* Thu Nov 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 3.16.0-5
- kmimetype patch
- devel: Requires: sip-devel

* Wed Nov 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 3.16.0-3
- (unversioned) Requires: PyQt


PyKDE-3.16.0-kmimetype.patch:

--- NEW FILE PyKDE-3.16.0-kmimetype.patch ---
--- PyKDE-3.16.0/sip/kio/kmimetype.sip	2006-09-22 18:41:53.000000000 +0530
+++ PyKDE-3.16.0/sip/kio/kmimetype.sip	2006-11-06 05:27:39.000000000 +0530
@@ -101,7 +101,7 @@
 %If ( KDE_3_2_0 -  )
     static KMimeType::Ptr defaultMimeTypePtr ();
     QString              parentMimeType () const;
-    bool                 is (const QString&) const;
+    bool                 is (const QString&) const /PyName=is_/; //'is' is a reserved keyword in python
     static KMimeType::Ptr diagnoseFileName (const QString&, QString&);
 %End
 


Index: PyKDE.spec
===================================================================
RCS file: /cvs/extras/rpms/PyKDE/FC-6/PyKDE.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PyKDE.spec	4 Oct 2006 19:37:49 -0000	1.5
+++ PyKDE.spec	9 Nov 2006 21:52:18 -0000	1.6
@@ -2,7 +2,7 @@
 Summary: Python bindings for KDE
 Name: 	 PyKDE
 Version: 3.16.0
-Release: 2%{?dist}
+Release: 5%{?dist}
 
 License: GPL 
 URL: 	 http://www.riverbankcomputing.co.uk/pykde/
@@ -11,6 +11,8 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch1: PyKDE-3.16.0-konsolepart.patch
+# http://mats.imk.fraunhofer.de/pipermail/pykde/2006-November/014627.html
+Patch2: PyKDE-3.16.0-kmimetype.patch
 
 BuildRequires: python-devel >= 2.3
 %global python_ver %(%{__python} -c "import sys ; print sys.version[:3]")
@@ -21,11 +23,12 @@
 
 BuildRequires: sip-devel >= 4.4.3 
 BuildRequires: PyQt-devel >= 3.16 
-%global pyqt_ver %(pyuic -version 2>&1  | cut -d' ' -f5)
-%if "%{?pyqt_ver}" > "2"
-Requires: PyQt = %{pyqt_ver}
-%endif
-
+## try to leave this unversioned, for now -- Rex
+Requires: PyQt
+#global pyqt_ver %(pyuic -version 2>&1  | cut -d' ' -f5)
+#if "%{?pyqt_ver}" > "2"
+#Requires: PyQt = %{pyqt_ver}
+#endif
 
 BuildRequires: kdelibs-devel kdebase
 %global kdelibs_ver %(kde-config --version 2>/dev/null | grep KDE | cut -d' ' -f2 | cut -d- -f1)
@@ -42,6 +45,7 @@
 Summary: %{name} SIP files
 Group: 	 Development/Languages
 Requires: %{name} = %{version}-%{release}
+Requires: sip-devel
 #Obsoletes: %{name}-docs < %{version}-%{release}
 Provides:  %{name}-docs = %{version}-%{release}
 %description devel
@@ -52,6 +56,7 @@
 %setup -q %{?snapshot:-n %{name}-snapshot%{snapshot}}
 
 %patch1 -p1 -b .konsolepart
+%patch2 -p1 -b .kmimetype
 
 
 %build
@@ -59,7 +64,7 @@
 
 %{__python} configure.py -L %{_lib} -d %{python_sitedir}
 
-# smp broken
+# smp broken, do the best we can
 make -k %{?_smp_mflags} || make
 
 
@@ -84,12 +89,18 @@
 %files devel
 %defattr(-,root,root,-)
 %doc doc/* examples
-# %_datadir/sip should be owned by sip-devel (#206633) 
-#dir %{_datadir}/sip
 %{_datadir}/sip/*
 
 
 %changelog
+* Thu Nov 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 3.16.0-5
+- kmimetype patch
+- devel: Requires: sip-devel
+
+* Wed Nov 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 3.16.0-3
+- (unversioned) Requires: PyQt
+- rebuild for PyQt-3.17 (fc7+)
+
 * Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 3.16.0-2 
 - respin
 




More information about the scm-commits mailing list