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
This commit is contained in:
Denisart Benjamin 2015-01-09 23:05:34 +00:00 committed by Git OBS Bridge
parent 679551f9df
commit 25ef40c3e4
2 changed files with 11 additions and 4 deletions

View File

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

View File

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