From 2f5411fe0c92a222f8cbda14bf73eda4a9fd6f8600ac059d05190d596b12542e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 11 Dec 2020 13:29:08 +0000 Subject: [PATCH] Accepting request 854880 from home:bnavigator:branches:devel:languages:python - Only require unittest2 for Leap. OBS-URL: https://build.opensuse.org/request/show/854880 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=127 --- python-psutil.changes | 5 +++++ python-psutil.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-psutil.changes b/python-psutil.changes index b1a12d8..7f091d8 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 11 12:19:05 UTC 2020 - Benjamin Greiner + +- Only require unittest2 for Leap. + ------------------------------------------------------------------- Fri Dec 11 11:36:23 UTC 2020 - Andreas Schneider diff --git a/python-psutil.spec b/python-psutil.spec index f8339d2..ae283b6 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -41,7 +41,9 @@ BuildRequires: python-rpm-macros Requires: net-tools Requires: procps %if %{with test} +%if 0%{suse_version} < 1550 BuildRequires: %{python_module unittest2} +%endif BuildRequires: net-tools BuildRequires: procps %if %{with python2}