Accepting request 1077226 from devel:languages:python:jupyter

- Fix debugsources error by having and %install section in :test
  flavor

OBS-URL: https://build.opensuse.org/request/show/1077226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-notebook?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2023-04-04 19:27:15 +00:00 committed by Git OBS Bridge
commit 2bc9610c5e
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 4 14:51:27 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Fix debugsources error by having and %install section in :test
flavor
-------------------------------------------------------------------
Thu Mar 30 17:50:17 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -171,11 +171,13 @@ This package pulls in the LaTeX dependencies for the Jupyter Notebook.
# We don't want to run selenium tests
rm -rf notebook/tests/selenium
%if !%{with test}
%build
%if !%{with test}
%pyproject_wheel
%endif
%install
%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}