From 25ef40c3e4fb7b46e9bd395710ae86e57a4946dd18b422d0f222a728dfa20ad5 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Fri, 9 Jan 2015 23:05:34 +0000
Subject: [PATCH] Accepting request 280613 from home:dimstar:Factory
- Re-enable test-suite.
- Add gcc-c++ BuildRequires: needed for the test-suite to be able
to pass.
- Fix usage of update-alternatives.
OBS-URL: https://build.opensuse.org/request/show/280613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=53
---
python-Cython.changes | 9 ++++++++-
python-Cython.spec | 6 +++---
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/python-Cython.changes b/python-Cython.changes
index 0f5b800..a79f23f 100644
--- a/python-Cython.changes
+++ b/python-Cython.changes
@@ -1,7 +1,14 @@
+-------------------------------------------------------------------
+Fri Jan 9 15:20:31 UTC 2015 - dimstar@opensuse.org
+
+- Re-enable test-suite.
+- Add gcc-c++ BuildRequires: needed for the test-suite to be able
+ to pass.
+
-------------------------------------------------------------------
Thu Jan 8 12:22:10 UTC 2015 - dimstar@opensuse.org
-- Fox usage of update-alternatives.
+- Fix usage of update-alternatives.
-------------------------------------------------------------------
Thu Dec 18 10:48:28 UTC 2014 - p.drouand@gmail.com
diff --git a/python-Cython.spec b/python-Cython.spec
index 9b30d7e..75406f3 100644
--- a/python-Cython.spec
+++ b/python-Cython.spec
@@ -27,6 +27,7 @@ Source: http://pypi.python.org/packages/source/C/Cython/Cython-%{version
Source1: python-Cython-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
+BuildRequires: gcc-c++
BuildRequires: python-devel
BuildRequires: python-xml
Provides: python-cython = %{version}
@@ -79,9 +80,8 @@ ln -s -f %{_sysconfdir}/alternatives/cygdb %{buildroot}%{_bindir}/cygdb
rm -rf %{buildroot}%{python_sitearch}/__pycache__/
# avoid conflicts with python 2 version
-# Disabled testsuite as it takes a long time:
-#%%check
-#python runtests.py
+%check
+python runtests.py
%post
update-alternatives \