[pyatspi/f16] fix build
Matthias Clasen
mclasen at fedoraproject.org
Wed Aug 17 11:28:05 UTC 2011
commit 0a93594f1f3971c386815dfd3bca9a6fea9a1242
Author: Matthias Clasen <mclasen at redhat.com>
Date: Wed Aug 17 07:25:19 2011 -0400
fix build
pyatspi-syntax.patch | 11 +++++++++++
pyatspi.spec | 5 ++++-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi-syntax.patch b/pyatspi-syntax.patch
new file mode 100644
index 0000000..1d3f444
--- /dev/null
+++ b/pyatspi-syntax.patch
@@ -0,0 +1,11 @@
+diff -up pyatspi-2.1.5/pyatspi/text.py.syntax pyatspi-2.1.5/pyatspi/text.py
+--- pyatspi-2.1.5/pyatspi/text.py.syntax 2011-08-17 07:19:31.403247456 -0400
++++ pyatspi-2.1.5/pyatspi/text.py 2011-08-17 07:19:38.701156218 -0400
+@@ -466,6 +466,7 @@ class Text:
+ the resulting substring, if one exists.
+ @return a string which is a substring of the text content of
+ the object, delimited by the specified boundary condition.
++ """
+ ret = exwrap(Atspi.Text.get_text_before_offset, self.obj, offset, type)
+ return textRangeToList(ret)
+
diff --git a/pyatspi.spec b/pyatspi.spec
index 7fd78a9..37e6cde 100644
--- a/pyatspi.spec
+++ b/pyatspi.spec
@@ -13,6 +13,9 @@ URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
#VCS: git:git://git.gnome.org/pyatspi
Source0: http://download.gnome.org/sources/pyatspi/2.1/%{name}-%{version}.tar.xz
+# communicated upstream
+Patch0: pyatspi-syntax.patch
+
BuildRequires: python
BuildRequires: pygobject2-devel >= 2.26.0
@@ -37,7 +40,7 @@ This package includes a python client library for at-spi.
%prep
%setup -q
-
+%patch0 -p1
%build
%configure --disable-relocate
More information about the scm-commits
mailing list