rpms/drpython/F-7 drpython-wxversion.patch, NONE, 1.1 drpython.spec, 1.1, 1.2

Marc Wiriadisastra (mwiriadi) fedora-extras-commits at redhat.com
Thu Jan 17 11:22:13 UTC 2008


Author: mwiriadi

Update of /cvs/pkgs/rpms/drpython/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28728/F-7

Modified Files:
	drpython.spec 
Added Files:
	drpython-wxversion.patch 
Log Message:


drpython-wxversion.patch:

--- NEW FILE drpython-wxversion.patch ---
--- drpython/drpython.py	2007-04-06 10:45:54.000000000 +0800
+++ ./drpython.py	2008-01-17 20:14:43.000000000 +0900
@@ -42,6 +42,8 @@
 
 #franz: stat is not used
 import sys, os, shutil, re, string, traceback
+import wxversion
+wxversion.select('2.8')
 import wx, wx.stc
 import  wx.lib.dialogs
 import drScrolledMessageDialog


Index: drpython.spec
===================================================================
RCS file: /cvs/pkgs/rpms/drpython/F-7/drpython.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- drpython.spec	5 Jan 2008 22:50:25 -0000	1.1
+++ drpython.spec	17 Jan 2008 11:21:36 -0000	1.2
@@ -1,7 +1,7 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 Name:           drpython
 Version:        165
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A simple Python IDE designed with teaching in mind
 
 Group:          Development/Tools
@@ -11,6 +11,7 @@
 Source1:        %{name}.desktop
 Source2:        drpython.sh
 Patch0:         drpython-setup.py.postinst.patch 
+Patch1:         drpython-wxversion.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  python-devel, wxPython-devel, desktop-file-utils, python-setuptools-devel
@@ -25,7 +26,8 @@
 
 %prep
 %setup -q -n %{name}
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 # Change Windows line endings to Unix line endings
 for file in $(find *.txt *.TXT -type f); do
@@ -72,6 +74,9 @@
 %{_bindir}/drpython
 
 %changelog
+* Thu Jan 17 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> 165-4
+- Added patch for wxversion in F-7
+
 * Sat Jan 5 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> 165-3
 - Fixed tabs spaces error in spec file
 




More information about the fedora-extras-commits mailing list