File project.diff of Package python-jupyter_console

--- python-jupyter_console.spec.orig
+++ python-jupyter_console.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_console
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -53,9 +53,9 @@ Requires:       python-pyzmq >= 17
 Requires:       python-traitlets >= 5.4
 Requires:       ((python-jupyter-core >= 4.12 with python-jupyter-core < 5.0) or python-jupyter-core >= 5.1)
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 Provides:       python-jupyter-console = %{version}-%{release}
-%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
+%if "%{python_flavor}" == "%{primary_python}" || "%{python_provides}" == "%{primary_python}"
 Provides:       jupyter-jupyter_console = %{version}-%{release}
 Obsoletes:      jupyter-jupyter_console < %{version}-%{release}
 Provides:       jupyter-jupyter_console-doc = %{version}-%{release}
openSUSE Build Service is sponsored by