From cd54331af7dc405ecac5598f9896611e1713aed3 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Jun 12 2008 22:03:57 +0000 Subject: - Fix an attribute error when importing wxPython (compat) module (redhat bugzilla 450073, 450074) --- diff --git a/wxPython-src-2.8.7.1-bug450073.patch b/wxPython-src-2.8.7.1-bug450073.patch index 37c7a21..8375d0a 100644 --- a/wxPython-src-2.8.7.1-bug450073.patch +++ b/wxPython-src-2.8.7.1-bug450073.patch @@ -6,7 +6,7 @@ diff -up wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py~ wxPython-src-2.8.7.1/w wxDateTime_IsLeapYear = wx._misc.DateTime_IsLeapYear wxDateTime_GetCentury = wx._misc.DateTime_GetCentury -wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear -+wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysInYear ++wxDateTime_GetNumberOfDaysInYear = wx._misc.DateTime_GetNumberOfDaysInYear wxDateTime_GetNumberOfDaysInMonth = wx._misc.DateTime_GetNumberOfDaysInMonth wxDateTime_GetMonthName = wx._misc.DateTime_GetMonthName wxDateTime_GetWeekDayName = wx._misc.DateTime_GetWeekDayName diff --git a/wxPython.spec b/wxPython.spec index ba28ce7..67bb56b 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -5,7 +5,7 @@ Name: wxPython Version: 2.8.7.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GUI toolkit for the Python programming language @@ -13,6 +13,7 @@ Group: Development/Languages License: LGPL URL: http://www.wxpython.org/ Source0: http://dl.sf.net/wxpython/wxPython-src-%{version}.tar.bz2 +Patch0: wxPython-src-2.8.7.1-bug450073.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # make sure to keep this updated as appropriate BuildRequires: wxGTK-devel >= 2.8.7 @@ -49,6 +50,7 @@ programs which use the wxPython toolkit. %prep %setup -q -n wxPython-src-%{version} +%patch0 -p1 %build @@ -101,6 +103,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jun 12 2008 Hans de Goede - 2.8.7.1-5 +- Fix an attribute error when importing wxPython (compat) module + (redhat bugzilla 450073, 450074) + * Sat Jun 6 2008 Matthew Miller - 2.8.7.1-4 - gratuitously bump package release number to work around build system glitch. again, but it will work this time.