From e259d84859ca68d4c7d430cfb0ace0e27ed40035fe21498c958432f3f37abd4c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 7 Apr 2021 20:25:47 +0000 Subject: [PATCH] - fix python 2.x build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=32 --- python-ddt.changes | 5 +++++ python-ddt.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-ddt.changes b/python-ddt.changes index e7be2b8..582b445 100644 --- a/python-ddt.changes +++ b/python-ddt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 7 20:25:34 UTC 2021 - Dirk Müller + +- fix python 2.x build + ------------------------------------------------------------------- Tue Mar 23 21:06:40 UTC 2021 - Dirk Müller diff --git a/python-ddt.spec b/python-ddt.spec index 24fc999..c1e2503 100644 --- a/python-ddt.spec +++ b/python-ddt.spec @@ -33,7 +33,8 @@ BuildArch: noarch BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytest} %if %{with python2} -BuildRequires: python-mock +BuildRequires: python2-enum34 +BuildRequires: python2-mock %endif # /SECTION %python_subpackages