forked from pool/python-CherryPy
Accepting request 561649 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/561649 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CherryPy?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 8 18:06:13 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- conditionally disable python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 31 15:30:01 UTC 2017 - jmatejek@suse.com
|
Fri Mar 31 15:30:01 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without python2
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
Name: python-CherryPy
|
Name: python-CherryPy
|
||||||
@@ -37,7 +39,9 @@ BuildRequires: %{python_module portend >= 1.6.1}
|
|||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python2-backports.unittest_mock
|
BuildRequires: python2-backports.unittest_mock
|
||||||
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
|
Reference in New Issue
Block a user