Run test suite
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
8bbfd62c13
commit
9b5b88248e
15
Cython.spec
15
Cython.spec
@ -1,11 +1,11 @@
|
|||||||
%global srcname Cython
|
%global srcname Cython
|
||||||
%global upname cython
|
%global upname cython
|
||||||
|
|
||||||
%bcond_with check
|
%bcond_without tests
|
||||||
|
|
||||||
Name: Cython
|
Name: Cython
|
||||||
Version: 0.24.1
|
Version: 0.24.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: A language for writing Python extension modules
|
Summary: A language for writing Python extension modules
|
||||||
|
|
||||||
License: Python
|
License: Python
|
||||||
@ -13,7 +13,7 @@ URL: http://www.cython.org
|
|||||||
Source: https://github.com/cython/cython/archive/%{version}/%{srcname}-%{version}.tar.gz
|
Source: https://github.com/cython/cython/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
%if %{with check}
|
%if %{with tests}
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release}
|
|||||||
Obsoletes: Cython < 0.24.1-6
|
Obsoletes: Cython < 0.24.1-6
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
%if %{with check}
|
%if %{with tests}
|
||||||
BuildRequires: python2-coverage
|
BuildRequires: python2-coverage
|
||||||
BuildRequires: python2-numpy
|
BuildRequires: python2-numpy
|
||||||
BuildRequires: python-jedi
|
BuildRequires: python-jedi
|
||||||
@ -44,7 +44,7 @@ Python 2 version.
|
|||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%if %{with check}
|
%if %{with tests}
|
||||||
BuildRequires: python3-coverage
|
BuildRequires: python3-coverage
|
||||||
BuildRequires: python3-numpy
|
BuildRequires: python3-numpy
|
||||||
BuildRequires: python3-jedi
|
BuildRequires: python3-jedi
|
||||||
@ -74,7 +74,7 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
|
|||||||
%py2_install
|
%py2_install
|
||||||
rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests
|
rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
%{__python2} runtests.py -vv
|
%{__python2} runtests.py -vv
|
||||||
%{__python3} runtests.py -vv
|
%{__python3} runtests.py -vv
|
||||||
@ -104,6 +104,9 @@ rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests
|
|||||||
%{python3_sitearch}/__pycache__/%{upname}.*
|
%{python3_sitearch}/__pycache__/%{upname}.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-7
|
||||||
|
- Run test suite
|
||||||
|
|
||||||
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-6
|
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-6
|
||||||
- Provide old names
|
- Provide old names
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user