Tomáš Chvátal 2020-03-28 07:39:28 +00:00 committed by Git OBS Bridge
parent 664490fa5b
commit 5819995f60
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 28 07:39:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix buidl without python2
-------------------------------------------------------------------
Tue Mar 17 07:20:32 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -24,6 +24,7 @@
%define psuffix %{nil}
%bcond_with test
%endif
%bcond_without python2
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-jupyter-core%{psuffix}
@ -56,8 +57,10 @@ Obsoletes: %{oldpython}-jupyter_core < %{version}
BuildRequires: %{python_module jupyter-core}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
%if %{with python2}
BuildRequires: python-mock
%endif
%endif
%python_subpackages
%description