Recythonize the sources
This commit is contained in:
parent
5747b078a8
commit
49056f05e0
@ -29,7 +29,9 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-matplotlib
|
||||
%if %{without python3}
|
||||
BuildRequires: python2-Cython
|
||||
%endif
|
||||
Requires: python2-pytz
|
||||
Requires: python2-dateutil
|
||||
Requires: python2-numpy
|
||||
@ -88,13 +90,16 @@ Python 3 version.
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
rm $(grep -rl '/\* Generated by Cython')
|
||||
|
||||
%build
|
||||
%if 0%{?with_python3}
|
||||
%py3_build
|
||||
%endif # with_python3
|
||||
|
||||
%py2_build
|
||||
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user