From 2a471dbfd5bc30ca928c9bb339c9330f6672f55cb836e5dba11182ff32a5abac Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Mon, 3 Feb 2014 19:48:55 +0000
Subject: [PATCH] Accepting request 220743 from
home:jengelh:branches:devel:languages:python
- add python-xml as require
OBS-URL: https://build.opensuse.org/request/show/220743
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=39
---
python-Cython.changes | 11 +++++++++++
python-Cython.spec | 2 ++
2 files changed, 13 insertions(+)
diff --git a/python-Cython.changes b/python-Cython.changes
index 8c1bf42..5f9ef2b 100644
--- a/python-Cython.changes
+++ b/python-Cython.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Mon Feb 3 18:51:50 UTC 2014 - jengelh@inai.de
+
+- Cython grew a dependency on saxutils (and since then, libplist
+ failed to build). Add python-xml as a Requires to avoid:
+ [...]
+ File "/usr/lib64/python2.7/site-packages/Cython/Compiler/Annotate.py",
+ line 6, in from xml.sax.saxutils import escape as
+ html_escape.
+ ImportError: No module named xml.sax.saxutils
+
-------------------------------------------------------------------
Fri Jan 31 10:19:40 UTC 2014 - speilicke@suse.com
diff --git a/python-Cython.spec b/python-Cython.spec
index f5df98a..3414a05 100644
--- a/python-Cython.spec
+++ b/python-Cython.spec
@@ -23,12 +23,14 @@ Url: http://www.cython.org
Summary: The Cython compiler for writing C extensions for the Python language
License: Apache-2.0
Group: Development/Languages/Python
+
Source: http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python-devel
Provides: python-cython = %{version}
Obsoletes: python-cython < %{version}
+Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives
%if 0%{?suse_version} && 0%{?suse_version} <= 1110