Avoid python-jedi dependency in RHEL builds
python-jedi is unwanted in RHEL; the tests which use it are skipped if absent, see the comment for details. Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
parent
5c173e36d1
commit
5cc48f1485
12
Cython.spec
12
Cython.spec
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
Name: Cython
|
Name: Cython
|
||||||
Version: 0.29.34
|
Version: 0.29.34
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Language for writing Python extension modules
|
Summary: Language for writing Python extension modules
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
@ -24,8 +24,15 @@ BuildRequires: python3-setuptools
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python3-numpy
|
BuildRequires: python3-numpy
|
||||||
|
# The tests requiring jedi are optional and skipped when jedi is not installed.
|
||||||
|
# Note that the jedi tests were forcefully disabled a long time ago,
|
||||||
|
# in https://github.com/cython/cython/issues/1845 far, far away.
|
||||||
|
# We keep the dependency here so we don't forget to re-add it once the balance is restored.
|
||||||
|
# We don't want to pull in jedi to RHEL just to potentially run more tests.
|
||||||
|
%if %{undefined rhel}
|
||||||
BuildRequires: python3-jedi
|
BuildRequires: python3-jedi
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with cython_compile}
|
%if %{with cython_compile}
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
@ -133,6 +140,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 24 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.29.34-2
|
||||||
|
- Avoid python-jedi dependency in RHEL builds
|
||||||
|
|
||||||
* Mon Apr 03 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.34-1
|
* Mon Apr 03 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.34-1
|
||||||
- Update to 0.29.34
|
- Update to 0.29.34
|
||||||
- Fixes: rhbz#1823181
|
- Fixes: rhbz#1823181
|
||||||
|
|
Loading…
Reference in New Issue