OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=82
This commit is contained in:
parent
5ad2b90285
commit
49ee5a5bf0
@ -86,14 +86,18 @@ done
|
||||
%fdupes %{buildroot}%{_docdir}
|
||||
|
||||
%post
|
||||
%{python_install_alternative cython} \
|
||||
--slave %{_bindir}/cythonize cythonize %{_bindir}/cythonize-%{python_bin_suffix} \
|
||||
--slave %{_bindir}/cygdb cygdb %{_bindir}/cygdb-%{python_bin_suffix}
|
||||
%python_install_alternative cython cythonize cygdb
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative cython
|
||||
|
||||
%check
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1140
|
||||
sed -i.SLES11.SP4.bak -e 's/const char/char/' ./tests/run/cpdef_extern_func.pyx
|
||||
#mv ./tests/run/cpdef_extern_func.pxd ./tests/run/cpdef_extern_func.pxd.TNT.txt
|
||||
#mv ./tests/run/cpdef_extern_func.pyx ./tests/run/cpdef_extern_func.pyx.TNT.txt
|
||||
#sleep 60
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec runtests.py -vv
|
||||
|
Loading…
Reference in New Issue
Block a user