diff --git a/python-jupyterlab-widgets.changes b/python-jupyterlab-widgets.changes index 3077546..03356d2 100644 --- a/python-jupyterlab-widgets.changes +++ b/python-jupyterlab-widgets.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 6 12:49:05 UTC 2022 - Ben Greiner + +- Use the js version for the jupyter package + ------------------------------------------------------------------- Thu Jan 6 12:20:03 UTC 2022 - Ben Greiner diff --git a/python-jupyterlab-widgets.spec b/python-jupyterlab-widgets.spec index b06821c..cf05f83 100644 --- a/python-jupyterlab-widgets.spec +++ b/python-jupyterlab-widgets.spec @@ -17,13 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define pyver 1.0.2 +%define jupver 3.0.1 Name: python-jupyterlab-widgets -Version: 1.0.2 +Version: %{pyver} Release: 0 Summary: A JupyterLab extension for Jupyter/IPython widgets License: BSD-3-Clause URL: https://github.com/jupyter-widgets/ipywidgets -Source: https://files.pythonhosted.org/packages/source/j/jupyterlab_widgets/jupyterlab_widgets-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/j/jupyterlab_widgets/jupyterlab_widgets-%{pyver}.tar.gz # PATCH-FIX-UPSTREAM ipywidgets-pr3138-pr3194-packaging.patch -- gh#jupyter-widgets/ipywidgets#3138 gh#jupyter-widgets/ipywidgets#3194 Patch1: ipywidgets-pr3138-pr3194-packaging.patch Source99: python-jupyterlab-widgets-rpmlintrc @@ -34,7 +36,7 @@ BuildRequires: jupyter-jupyterlab-filesystem BuildRequires: python-rpm-macros Requires: jupyter-jupyterlab-widgets BuildArch: noarch -Provides: python-jupyterlab_widgets = %{version}-%{release} +Provides: python-jupyterlab_widgets = %{pyver}-%{release} %python_subpackages %description @@ -42,13 +44,15 @@ A JupyterLab 3.0 extension for Jupyter/IPython widgets %package -n jupyter-jupyterlab-widgets Summary: A JupyterLab extension for Jupyter/IPython widgets - Jupyter JS files +Version: %{jupver} +Provides: jupyter-jupyterlab_widgets = %{jupver}-%{release} Requires: jupyter-jupyterlab-filesystem %description -n jupyter-jupyterlab-widgets A JupyterLab 3.0 extension for Jupyter/IPython widgets - Jupyter JS files %prep -%autosetup -p1 -n jupyterlab_widgets-%{version} +%autosetup -p1 -n jupyterlab_widgets-%{pyver} %build %python_build @@ -66,7 +70,7 @@ $python -c 'import jupyterlab_widgets' %doc README.md %license LICENSE %{python_sitelib}/jupyterlab_widgets -%{python_sitelib}/jupyterlab_widgets-%{version}*-info +%{python_sitelib}/jupyterlab_widgets-%{pyver}*-info %files -n jupyter-jupyterlab-widgets %license LICENSE