Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyter-client7 for 
openSUSE:Factory checked in at 2023-04-14 13:13:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-client7 (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter-client7.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter-client7"

Fri Apr 14 13:13:43 2023 rev:2 rq:1079327 version:7.4.9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter-client7/python-jupyter-client7.changes
    2023-04-03 17:45:30.646415425 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter-client7.new.19717/python-jupyter-client7.changes
 2023-04-14 13:13:51.219829966 +0200
@@ -1,0 +2,5 @@
+Fri Apr 14 02:17:10 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Remove jupyter package, provide alternatives instead
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter-client7.spec ++++++
--- /var/tmp/diff_new_pack.peLaEy/_old  2023-04-14 13:13:51.763833077 +0200
+++ /var/tmp/diff_new_pack.peLaEy/_new  2023-04-14 13:13:51.767833100 +0200
@@ -38,7 +38,6 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       jupyter-jupyter_client = %{version}
 Requires:       python-entrypoints
 Requires:       python-jupyter-core >= 4.9.2
 Requires:       python-nest-asyncio >= 1.5.4
@@ -46,11 +45,21 @@
 Requires:       python-pyzmq >= 23.0
 Requires:       python-tornado >= 6.2
 Requires:       python-traitlets
-Provides:       python-jupyter-client = %{version}
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
+Provides:       python-jupyter-client = %{version}-%{release}
 # Conflict with the python-jupyter-client 8 package
 Conflicts:      python-jupyter-client
-Provides:       python-jupyter_client = %{version}
-Obsoletes:      python-jupyter_client < %{version}
+Provides:       jupyter-jupyter-client = %{version}-%{release}
+Obsoletes:      jupyter-jupyter-client < %{version}-%{release}
+Provides:       jupyter-jupyter-client7 = %{version}-%{release}
+Obsoletes:      jupyter-jupyter-client7 < %{version}-%{release}
+Provides:       python-jupyter_client = %{version}-%{release}
+Obsoletes:      python-jupyter_client < %{version}-%{release}
+Provides:       jupyter-jupyter_client = %{version}-%{release}
+Obsoletes:      jupyter-jupyter_client < %{version}-%{release}
+Provides:       jupyter-jupyter-client-doc = %{version}-%{release}
+Obsoletes:      jupyter-jupyter-client-doc < %{version}-%{release}
 BuildArch:      noarch
 %if %{with test}
 # gh#jupyter/jupyter_client#787
@@ -72,28 +81,6 @@
 It also provides the jupyter kernelspec entrypoint for installing kernelspecs
 for use with Jupyter frontends.
 
-This package provides the python interface.
-
-%package     -n jupyter-jupyter-client7
-Summary:        Jupyter protocol implementation and client libraries
-Group:          Development/Languages/Python
-Provides:       jupyter-jupyter-client = %{version}
-Conflicts:      jupyter-jupyter-client
-Requires:       python3-jupyter-client = %{version}
-Provides:       jupyter-jupyter_client = %{version}
-Obsoletes:      jupyter-jupyter_client < %{version}
-Provides:       jupyter-jupyter-client-doc = %{version}
-Obsoletes:      jupyter-jupyter-client-doc < %{version}
-
-%description -n jupyter-jupyter-client7
-This package contains the reference implementation of the Jupyter protocol.
-It also provides client and kernel management APIs for working with kernels.
-
-It also provides the jupyter kernelspec entrypoint for installing kernelspecs
-for use with Jupyter frontends.
-
-This package provides the jupyter components.
-
 %prep
 %autosetup -p1 -n jupyter_client-%{version}
 sed -i 's/--color=yes//' pyproject.toml
@@ -104,6 +91,9 @@
 %install
 %if !%{with test}
 %pyproject_install
+%python_clone -a %{buildroot}%{_bindir}/jupyter-kernel
+%python_clone -a %{buildroot}%{_bindir}/jupyter-kernelspec
+%python_clone -a %{buildroot}%{_bindir}/jupyter-run
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
@@ -114,18 +104,20 @@
 popd
 %endif
 
+%post
+%python_install_alternative jupyter-kernel jupyter-kernelspec jupyter-run
+
+%postun
+%python_uninstall_alternative jupyter-kernel
+
 %if !%{with test}
 %files %{python_files}
 %license COPYING.md
 %{python_sitelib}/jupyter_client-%{version}*-info
 %{python_sitelib}/jupyter_client/
-
-%files -n jupyter-jupyter-client7
-%license COPYING.md
-%doc CONTRIBUTING.md README.md
-%{_bindir}/jupyter-kernel
-%{_bindir}/jupyter-kernelspec
-%{_bindir}/jupyter-run
+%python_alternative %{_bindir}/jupyter-kernel
+%python_alternative %{_bindir}/jupyter-kernelspec
+%python_alternative %{_bindir}/jupyter-run
 %endif
 
 %changelog

Reply via email to