rpms/pyspi/FC-5 pyspi-NULL-children.patch, NONE, 1.1 pyspi.spec, 1.1, 1.2
Zack Cerza (zmc)
fedora-extras-commits at redhat.com
Mon Jun 19 15:58:29 UTC 2006
Author: zmc
Update of /cvs/extras/rpms/pyspi/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11579
Modified Files:
pyspi.spec
Added Files:
pyspi-NULL-children.patch
Log Message:
Add pyspi-NULL-children.patch
pyspi-NULL-children.patch:
--- NEW FILE pyspi-NULL-children.patch ---
Index: pyspi.pyx
===================================================================
RCS file: /cvs/gnome/pyspi/pyspi.pyx,v
retrieving revision 1.16
diff -u -r1.16 pyspi.pyx
--- pyspi.pyx 2 Jun 2006 17:39:00 -0000 1.16
+++ pyspi.pyx 16 Jun 2006 23:39:48 -0000
@@ -439,7 +439,9 @@
cdef cspi.Accessible* spiChild
spiChild = cspi.Accessible_getChildAtIndex (self.__item, i)
- assert spiChild != NULL
+ # Workaround for GNOME bug #321273
+ # http://bugzilla.gnome.org/show_bug.cgi?id=321273
+ if spiChild == NULL: return None
cdef object child
cdef Application app
Index: pyspi.spec
===================================================================
RCS file: /cvs/extras/rpms/pyspi/FC-5/pyspi.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pyspi.spec 17 Apr 2006 16:45:22 -0000 1.1
+++ pyspi.spec 19 Jun 2006 15:58:29 -0000 1.2
@@ -1,13 +1,14 @@
Summary: Python bindings for AT-SPI
Name: pyspi
Version: 0.5.4
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPL
Group: Development/Languages
URL: http://people.redhat.com/zcerza/dogtail/
Source0: http://people.redhat.com/zcerza/dogtail/releases/pyspi-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: at-spi-devel, Pyrex
+Patch0: pyspi-NULL-children.patch
%description
AT-SPI allows assistive technologies to access GTK-based applications. It
@@ -19,6 +20,7 @@
%prep
%setup -q
+%patch0 -p0
%build
python ./setup.py build
@@ -38,6 +40,9 @@
%doc ChangeLog
%changelog
+* Mon Jun 19 2006 Zack Cerza <zcerza at redhat.com> - 0.5.4-3
+- Add pyspi-NULL-children to fix Fedora bug #195886 .
+
* Tue Mar 21 2006 Zack Cerza <zcerza at redhat.com> - 0.5.4-2
- Fix URL and Source0 fields.
More information about the fedora-extras-commits
mailing list