From ffa8e39698a2a1850b2a5ea509e05435e41a96a009d33a7de697161e8f015bde Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 25 Sep 2024 14:35:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipykernel?expand=0&rev=113 --- python-ipykernel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 43374a3..325410d 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -32,7 +32,7 @@ Provides: %{python_module jupyter_ipykernel-doc = %{version}} Obsoletes: %{python_module jupyter_ipykernel-doc < %{version}} Provides: %{python_module jupyter-ipykernel-doc = %{version}} Obsoletes: %{python_module jupyter-ipykernel-doc < %{version}} -%if %{suse_version} <= 1600 +%if %{suse_version} < 1600 # python311-ipykernel and python3-ipykernel cannot both provide the kernelspec Conflicts: python3-ipykernel %endif @@ -128,7 +128,7 @@ donttest="$donttest or test_do_apply" %{python_sitelib}/ipykernel-%{version}*-info %pycache_only %{python_sitelib}/__pycache__/ipykernel_launcher*.pyc %{_jupyter_kernel_dir}/python%{python_bin_suffix} -%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" || 0%{?suse_version} <= 1600 +%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" || 0%{?suse_version} < 1600 %{_jupyter_kernel_dir}/python3 %endif