From 4d55acd266031013ba93a4366cf1d11645f5e0bd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:18:05 +0100 Subject: [PATCH] only obsolete ipython in py3 target [release 8.16.0-3mamba;Sat Oct 07 2023] --- python-ipython.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-ipython.spec b/python-ipython.spec index 239b1ce..be2c1c4 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-ipython Version: 8.16.0 -Release: 2mamba +Release: 3mamba Summary: An interactive computational environment for Python Group: System/Libraries Vendor: openmamba @@ -28,10 +28,13 @@ BuildRequires: python3.11dist(traitlets) %description The IPython Notebook is an interactive computational environment, in which you can combine code execution, rich text, mathematics, plots and rich media -%if 0%{?with_pyver} +%if "0%{?with_pyver}" == "03" %define py_requires_append \ Provides: ipython \ Obsoletes: ipython < 7.32.0 +%endif + +%if 0%{?with_pyver} %pyver_package %endif @@ -66,6 +69,9 @@ done %doc COPYING.rst %changelog +* Sat Oct 07 2023 Silvan Calarco 8.16.0-3mamba +- only obsolete ipython in py3 target + * Sun Oct 01 2023 Silvan Calarco 8.16.0-2mamba - fix conflicting bindir files