Benjamin Greiner 2022-12-29 22:36:08 +00:00 committed by Git OBS Bridge
parent 925bd4056a
commit e77a6fe047

View File

@ -96,7 +96,7 @@ This package provides the python interface.
%package -n jupyter-nbdime
Version: %{jupver}
Summary: A JupyterLab extension for showing Notebook diffs
Requires: (%(echo "%{python_module nbdime = %{version}@or@}" | sed "s/@or@/ or /g" | sed 's/ or\s*$//'))
Requires: (%(echo "%{python_module nbdime = %{mainver}@or@}" | sed "s/@or@/ or /g" | sed 's/ or\s*$//'))
Conflicts: python3-jupyter_nbdime < 1.0.5
%description -n jupyter-nbdime
@ -110,7 +110,7 @@ Version: %{labver}
Release: 0
Summary: A JupyterLab extension for showing Notebook diffs
Requires: jupyter-jupyterlab
Requires: (%(echo "%{python_module nbdime = %{version}@or@}" | sed "s/@or@/ or /g" | sed 's/ or\s*$//'))
Requires: (%(echo "%{python_module nbdime = %{mainver}@or@}" | sed "s/@or@/ or /g" | sed 's/ or\s*$//'))
%description -n jupyter-nbdime-jupyterlab
The nbdime package provides tools for diffing and merging of
@ -129,6 +129,8 @@ Obsoletes: python-jupyter_nbdime-git < %{jupver}-%{release}
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
Provides: jupyter-nbdime-git = %{jupver}-%{release}
Obsoletes: jupyter-nbdime-git < %{jupver}-%{release}
%else
Conflicts: jupyter-nbdime-git < %{jupver}-%{release}
%endif
%if %{with libalternatives}
Requires: alts
@ -154,6 +156,8 @@ Obsoletes: python-jupyter_nbdime-hg < %{jupver}-%{release}
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
Provides: jupyter-nbdime-hg = %{jupver}-%{release}
Obsoletes: jupyter-nbdime-hg < %{jupver}-%{release}
%else
Conflicts: jupyter-nbdime-hg < %{jupver}-%{release}
%endif
%if %{with libalternatives}
Requires: alts