Accepting request 883686 from devel:languages:python

- fix python 2.x build

OBS-URL: https://build.opensuse.org/request/show/883686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-04-12 10:33:41 +00:00 committed by Git OBS Bridge
commit b897b3a47a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 7 20:25:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
- fix python 2.x build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 23 21:06:40 UTC 2021 - Dirk Müller <dmueller@suse.com> Tue Mar 23 21:06:40 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -33,7 +33,8 @@ BuildArch: noarch
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
%if %{with python2} %if %{with python2}
BuildRequires: python-mock BuildRequires: python2-enum34
BuildRequires: python2-mock
%endif %endif
# /SECTION # /SECTION
%python_subpackages %python_subpackages