14
0

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:
2018-01-16 08:35:11 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -16,6 +16,8 @@
#
%bcond_without python2
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-CherryPy
@@ -37,7 +39,9 @@ BuildRequires: %{python_module portend >= 1.6.1}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
%if %{with python2}
BuildRequires: python2-backports.unittest_mock
%endif
# /SECTION
BuildRequires: python-rpm-macros
Requires(post): update-alternatives