No more cython3, just one cython

This commit is contained in:
Miro Hrončok 2018-08-14 19:51:09 +02:00
parent 18fd5df803
commit b19c3d962d

View File

@ -176,7 +176,6 @@ This package provides the Tcl binding for BrlAPI.
Version: %{api_version} Version: %{api_version}
License: LGPLv2+ License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release} Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: Cython
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python2-setuptools BuildRequires: python2-setuptools
Summary: Python binding for BrlAPI Summary: Python binding for BrlAPI
@ -300,7 +299,7 @@ PYTHONS="$PYTHONS python2"
# ... and then do it again for the Python 3 module # ... and then do it again for the Python 3 module
pushd python3 pushd python3
./autogen ./autogen
%configure $configure_opts PYTHON=%{__python3} CYTHON=%{_bindir}/cython3 %configure $configure_opts PYTHON=%{__python3}
make make
popd popd
PYTHONS="$PYTHONS python3" PYTHONS="$PYTHONS python3"