Accepting request 220746 from devel:languages:python

- add python-xml as require (forwarded request 220743 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/220746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2014-02-06 06:06:34 +00:00 committed by Git OBS Bridge
commit dacbbcda86
2 changed files with 13 additions and 0 deletions

View File

@ -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 <module> 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

View File

@ -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